About null

forum_thread

native sql queries

Is there a way to run native SQL queries in ObjectDB? I would guess 'no' since it is an oodbms, but I did not find the answer in the documentation. An attempt: Query q = em.createNativeQuery("select * from person"); Result: ... java.lang.UnsupportedOperationException: null java.lang.UnsupportedOperationException at ...

 
forum_thread

How to delete M2M relationship?

In user model class I have the following: public class User implements Serializable { ... if ( transaction != null && transaction. isActive ( ) ) { ...

 
issue

NullPointerException when using multithreading

[ObjectDB 2.4.4_08] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Client VM 1.6.0_29 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.ENT.C(ENT.java:557) at com.objectdb.o.OBM.bz(OBM.java:385) at com.objectdb.o.OBM.bz(OBM.java:261) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:377) at ... ... java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.ENT.C(ENT.java:557) at ...

 
api-jpa

javax.persistence.PersistenceContextType

Specifies whether a transaction-scoped or extended persistence context is to be used in PersistenceContext.(Enum of JPA)

 
api-jpa

valueOf(name)

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

 
api-jdo

javax.jdo.annotations.InheritanceStrategy

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

 
api-jpa

javax.persistence.criteria.CriteriaBuilder.Trimspec

Used to specify how strings are trimmed.(Enum of JPA)

 
api-jpa

QueryTimeoutException()

Constructs a new QueryTimeoutException exception with null as its detail message.(Constructor of javax.persistence.QueryTimeoutException)

 
api-jdo

get(pc, si)

Return the associated instance.(Method of javax.jdo.spi.JDOImplHelper.StateInterrogationObjectReturn)

 
api-jdo

getPersistenceManagerFactory(props, pmfClassLoader)

Get a PersistenceManagerFactory based on a Map and a class loader.(Static Method of javax.jdo.JDOHelper)