About Time

tutorial

Step 4: Run the Application

Running ObjectDB/JPA tutorial in the Eclipse IDE.... When you run the application for the first time, a new ObjectDB database file is generated in the db subdirectory ...

 
api-jdo

setResultClass(cls)

Specify the type of object in which to return each element of the result of invoking execute or one of its siblings.(Method of javax.jdo.Query)

 
api-jdo

getOptimistic()

Optimistic transactions do not hold data store locks until commit time.(Method of javax.jdo.Transaction)

 
api-jpa

javax.persistence.Temporal

This annotation must be specified for persistent fields or properties of type java.util.Date and java.util.Calendar.(Annotation of JPA)

 
api-jdo

getRetainValues()

If true, at commit time instances retain their field values.(Method of javax.jdo.Transaction)

 
api-jpa

persist(entity)

Make an instance managed and persistent.(Method of javax.persistence.EntityManager)

 
api-jpa

javax.persistence.OptimisticLockException

Thrown by the persistence provider when an optimistic locking conflict occurs.(Exception of JPA)

 
api-jpa

createEntityManager()

Create a new application-managed EntityManager.(Method of javax.persistence.EntityManagerFactory)

 
api-jpa

javax.persistence.spi.PersistenceUnitInfo

Interface implemented by the container and used by the persistence provider when creating an javax.persistence.EntityManagerFactory.(Interface of JPA)

 
api-jdo

getObjectById(oid, validate)

This method locates a persistent instance in the cache of instances managed by this PersistenceManager.(Method of javax.jdo.PersistenceManager)