About identifier

forum_thread

Using multiple databases

Is it possible for an ObjectDB PersistenceManger/EntityManager to connect to more than one database at a time? Also, can objects in one database reference objects in another database (e.g. through globally unique identifiers)? #1 2011-08-25 10:11 Is it possible for an ObjectDB PersistenceManger/EntityManager to connect to more than one database at a time?&nb ...

 
api-jpa

javax.persistence.OneToOne

Defines a single-valued association to another entity that has one-to-one multiplicity.(Annotation of JPA)

 
api-jdo

setRange(fromInclToExcl)

Set the range of results to return.(Method of javax.jdo.Query)

 
api-jpa

valueOf(name)

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

 
api-jdo

javax.jdo.annotations.PersistenceModifier

Enumeration of the persistence-modifier values for a field or property.(Enum of JDO)

 
api-jpa

javax.persistence.AttributeOverride

Used to override the mapping of a Basic (whether explicit or default) property or field or Id property or field.(Annotation of JPA)

 
api-jdo

valueOf(name)

Returns the enum constant of this type with the specified name.(Static Method of javax.jdo.annotations.PersistenceModifier)

 
api-jpa

valueOf(name)

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

 
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 ...