About identifier

api-jpa

javax.persistence.FetchType

Defines strategies for fetching data from the database.(Enum of JPA)

 
api-jpa

javax.persistence.CascadeType

Defines the set of cascadable operations that are propagated to the associated entity.(Enum of JPA)

 
forum_thread

Help understanding Entity behavior with JPA

Hi Support,   We have a entity with an @Id entity which we then put into a list and store in an different entity inside a field defined as:   @OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType.EAGER) private Object payload; #1 2012-12-06 11:01 Hi Support,   We have a entity with an @Id entity which we then put into a list and store in ...

 
api-jpa

javax.persistence.SharedCacheMode

Specifies how the provider must use a second-level cache for the persistence unit.(Enum of JPA)

 
api-jpa

valueOf(name)

Returns the enum constant of this type with the specified name.(Static Method of javax.persistence.criteria.JoinType)

 
api-jpa

javax.persistence.criteria.JoinType

Defines the three types of joins.(Enum of JPA)

 
api-jpa

valueOf(name)

Returns the enum constant of this type with the specified name.(Static Method of javax.persistence.GenerationType)

 
api-jpa

valueOf(name)

Returns the enum constant of this type with the specified name.(Static Method of javax.persistence.CacheRetrieveMode)

 
api-jdo

jdoProvideFields(fieldNumbers)

The owning StateManager uses this method to ask the instance to provide the values of the multiple fields identified by fieldNumbers.(Method of javax.jdo.spi.PersistenceCapable)

 
forum_thread

can removing an entity throw an exception if the entity is in use?

Suppose you have an entity @Entity class A { ... } and other entities with references to A.   e.g. @Entity class B { A a; // explicit reference to A List<A> list; // list of A's Set<A> set; // set of A's Set untyped; // general collection that may include A's } Objectdb allows me to remove an instance of A, even if a managed B has some reference to that A. When I then find the B instance and try to reference the A, I get an EntityNotFoundException. #1 2011-05-12 11:21 Suppose you have an entity @Entity class A { ... } and other entities with references to A. &nbs ...