About false

release

2.4.4

... on merge. Fixed a Doctor bug that caused false alarms. Version 2.4.3 Added support for using ...

 
api-jdo

isNew(pc)

Tests whether this object has been newly made persistent.(Method of javax.jdo.spi.StateManager)

 
forum_thread

Objectdb ignores not null annotations

I'd like to mark field of an entity not nullable so that when developer tries to persist such entity exception gets thrown... I've tried @Column(nullable = false) (i even tried @NotNull which is not JPA, anyway I've tried :) Please specify valid way to mark a field (might be of another Entity type or primitive) not nullable... Regards ... thrown... I've tried @Column(nullable = false) (i even tried @NotNull which is not JPA, anyway I've tried :) ...

 
api-jdo

isNew(pc)

Tests whether the parameter instance has been newly made persistent.(Static Method of javax.jdo.JDOHelper)

 
api-jpa

close()

Close the factory, releasing any resources that it holds.(Method of javax.persistence.EntityManagerFactory)

 
api-jpa

MapKeyColumn.unique

(Optional) Whether the column is a unique key.(Annotation Element of javax.persistence.MapKeyColumn)

 
api-jpa

or(restrictions)

Create a disjunction of the given restriction predicates.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jpa

javax.persistence.EntityManager

Interface used to interact with the persistence context.(Interface of JPA)

 
api-jdo

Join.generatePrimaryKey

Generate or assume a primary key constraint exists on the column or columns associated with this join.(Annotation Element of javax.jdo.annotations.Join)

 
forum_thread

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

I have a call to getObjectsById(Collection,boolean) that is throwing a JDOException the first time I'm attempting to retrieve an object. If I try again, then the second request succeeds. Any idea why this might occur? We're using ObjectDB 2.2.4_02. The collection being passed in is a HashSet<Object> containing a single oid object (the method is written to support multiple objects, but it seems to only be failing irregularly when only a single oid is present). I'm passing false in as the verification argument.... when only a single oid is present). I'm passing false in as the verification argument. What happens if getObjectsById() ...