About persistence

page

What is new in ObjectDB 2.0?

ObjectDB 2.0 supports many new features and improvements, including: Most of the features of the new JPA 2.0 and JDO 2.2 APIs. User defined IDs (primary key) and sequences. Support of unlimited index keys size. SQL like queries (" ...

 
forum_thread

Handling "is null" in where clause

Greetings, I was playing aroung with JPQL and have found that there is a problem with "is null" queries. When you use "is null" in where clause, query runs correctly, but results are incorrect. Let me show you an example: - entity @Entity public class EntityA { @Id Integer id; Integer simpleField; (getters and setters here) - populating database #1 2010-09-24 10:23 Greetings, I was playing aroung with JPQL and have found that there is a problem with "is null" queries. ...

 
api-jpa

ValidationMode.AUTO

If a Bean Validation provider is present in the environment, the persistence provider must perform the automatic validation of entities.(Enum Constant of javax.persistence.ValidationMode)

 
forum_thread

Data migration from SQLServer to ObjectDB

Hi, could someone recommend a good tool to use for data migration from SQLServer to ObjectDB. #1 2015-08-25 12:44 Hi, could someone recommend a good tool to use for data migration from SQLServer to ObjectDB. ...

 
api-jpa

setLockMode(lockMode)

Set the lock mode type to be used for the query execution.(Method of javax.persistence.TypedQuery)

 
api-jpa

javax.persistence.spi.ProviderUtil

Utility interface implemented by the persistence provider.(Interface of JPA)

 
api-jdo

getObjectById(oid)

Looks up the instance corresponding to the specified oid.(Method of javax.jdo.PersistenceManager)

 
api-jdo

getPersistenceManager(pc)

Return the associated PersistenceManager if there is one.(Static Method of javax.jdo.JDOHelper)

 
api-jpa

getReference(entityClass, primaryKey)

Get an instance, whose state may be lazily fetched.(Method of javax.persistence.EntityManager)

 
api-jdo

getManagedObjects(states, classes)

Get the objects managed by this persistence manager having the specified object states and being instances of the specified classes.(Method of javax.jdo.PersistenceManager)