About null

issue

UnexpectedException on query

Hi, I'm getting the following exception when trying to query an Entity type by id using googlecode generic dao.   ... java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.TKN.D(TKN.java:555) at ...

 
api-jpa

javax.persistence.Lob

Specifies that a persistent property or field should be persisted as a large object to a database-supported large object type.(Annotation of JPA)

 
forum_thread

Internal objectdb error when execute a flush

We get an internal objectdb error, when we execute a flush. Why? What's wrong? It performs with version objectdb-2.6.4_04. It does not perform with version objectdb-2.6.6_04.   ... omitted Caused by: java.lang.NullPointerException: null at com.objectdb.o.MMM.aj(MMM.java:1147) ~[na:na] at ...

 
api-jdo

isDirty(pc)

Tests whether the parameter instance is dirty.(Method of javax.jdo.spi.StateInterrogation)

 
api-jpa

javax.persistence.CacheRetrieveMode

Used as the value of the javax.persistence.cache.retrieveMode property to specify the behavior when data is retrieved by the find methods and by queries.(Enum of JPA)

 
forum_thread

Custom Classloader: Issues with the Enhancer Agent

In my use case I generate some classes dynamically and load them with a custom classloader. The classloader is very standard and does something like this (simplified): ... name ) ; if ( javaClass != null ) { byte [ ] bytes = ...

 
api-jdo

javax.jdo.annotations.InheritanceStrategy

Enumeration of the inheritance strategy values.(Enum of JDO)

 
api-jpa

valueOf(name)

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

 
forum_thread

Merge Issue: Attempt to reuse an existing primary key value

Hello, I have just updated my objectdb version from 2.4.6 to 2.5.5. I observed a new bug or a feature on an ordinary merge operation. This is the test case ( work in 2.4.6 version ) : 2 parents object share the same child on a ManyToMany relationship with Cascade.ALL constraint. ... ;     EntityManager em = null ;   // Merge parent1 em = emf. ...