About Entity

91-100 of 200Refresh
Manual
12

FROM clause (JPQL / Criteria API)

identification variables that iterate over all the database objects of a specific entity class hierarchy (i.e. an entity class and all its descendant entity classes). Identification variables ... of an entity class in a JPQL query is the unqualified name of the class (e.g. just Country with no package
Forum
11

Remove an entity which attributes were changed - OptimisticLockException

We use an OSGi environment and we have three OSGi plugins.   In plugin A an entity is loaded and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes the entity from the database. After commit the transaction an exception is caused with optimistic lock
Forum
11

Persist error @ManyToMany how to define correct entities relationships

I have Product entities containing a list of Category enties. Each product can have multiple Category but they are all refering to same limited set of Category entities (via ID). There is not changes ... too). @Entity public class Product implements Serializable { @Id @GeneratedValue
Forum
11

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

ObjectDB support, while the entities in a result set list from a JPQ query are initially managed ... to use the entity in a transaction it will have to be properly merged. From chris_delahunt at http ... as the Entity is not serialized, and the connections are still available, you should still be able
JPA Doc
11

JPA Exceptions

) . For example, if a transaction fails because of an attempt to store a new entity object with a primary key that is already in use by another existing entity object, the nested exception is: Other common ... to retrieve entity objects from the database. For example, when a required entity object is not found: or
Manual
11

JPA Query Structure (JPQL / Criteria)

classes and objects. For example, a JPQL query can retrieve and return entity objects ... elements such as names of entity classes and persistent fields, which are case sensitive. In ... over objects in the database. A query variable that is bound to an entity class is referred to as
Result
11

Eclipse Public License - v 1.0

entity that distributes the Program. "Licensed Patents" mean patent claims licensable by ... property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As
Manual
11

JPA / JDO Class Enhancer

(entity classes, embeddable classes and mapped superclasses), and is usually optional ... tracking of persistent field modifications, avoiding the need for snapshot comparison of entities (as ... of entity objects. With no enhancement, only persistent collection and map fields can be loaded lazily (by
Result
11

Posting to ObjectDB Website - Important Instructions [2018-08-06]

. Whenever possible: Use a single Java file with one main class + static inner classes for entity / embeddable ... ();     }     @Entity     public static class MyEntity {         private String name;         MyEntity(String ... its strict JPA warnings (There is no ID defined for this entity hierarchy, The class
Result
11

Posting to ObjectDB Website - Important Instructions

. Whenever possible: Use a single Java file with one main class + static inner classes for entity / embeddable ... ();     }     @Entity     public static class MyEntity {         private String name;         MyEntity(String ... its strict JPA warnings (There is no ID defined for this entity hierarchy, The class