Fast Object Database for Java - with JPA/JDO support

Internal Website Search

11-20 of 200 resultsRefresh


Constructor javax.persistence.Persistence Persistence() Since: JPA 1.0


Static Field javax.persistence.Persistence String PERSISTENCE_PROVIDER Deprecated. This final String is deprecated and should be removed and is only here for TCK backward compatibility Since: JPA 1.0


javax.persistence Interface EntityManager Interface used to interact with the persistence context. An EntityManager instance is associated with a persistence context. A persistence context is a set of entity instances in which for any persistent entity identity there is a unique entity instance


javax.persistence.spi Interface PersistenceUnitInfo Interface implemented by the container and used by the persistence provider when creating an javax.persistence.EntityManagerFactory. Since: JPA 1.0 ... are only transformed once within the same classloading scope, regardless of how many persistence units

Storing JPA Entity Objects

New entity objects can be stored in the database either explicitly by invoking the persist method or implicitly as a result of a cascade operation. Explicit Persist The following code stores ... ", "Joseph", "Wurzelbacher"); em.getTransaction().begin(); em.persist(employee); em


javax.persistence.spi Interface PersistenceProvider Interface implemented by the persistence provider. It is invoked by the container in Java EE environments and by the javax.persistence.Persistence class in Java SE environments to create an javax.persistence.EntityManagerFactory. Since: JPA 1.0


javax.persistence Annotation PersistenceContext Target: Classes and fields (including property get methods) Expresses a dependency on a container-managed EntityManager and its associated persistence ... [] properties (Optional) Properties for the container or persistence provider. (Optional) Properties


javax.persistence Interface PersistenceUnitUtil Superinterfaces: PersistenceUtil Utility interface between the application and the persistence provider managing the persistence unit. The methods ... for this persistence unit or on new entity instances. Since: JPA 2.0 Object getIdentifier(Object


javax.jdo.annotations Annotation Persistent Target: Fields (including property get methods) Annotation for defining the persistence of a member. This corresponds to the xml elements "field ... persistent but in the non-embedded instances the member is persistent. Note that it is not portable


javax.persistence Enum GenerationType java.lang.Object java.lang.Enumpersistence.GenerationType> javax.persistence.GenerationType Implemented Interfaces: Serializable ... /JPA manual. GenerationType AUTO Indicates that the persistence provider should pick an appropriate

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support