ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh


javax.persistence Annotation PersistenceUnit Target: Classes and fields (including property get methods) Expresses a dependency on an EntityManagerFactory and its associated persistence unit ... ) The name of the persistence unit as defined in the persistence.xml file. (Optional) The name


javax.persistence Annotation NamedQuery Target: Classes Specifies a static, named query in the Java Persistence query language. Query names are scoped to the persistence unit. The NamedQuery ... of a named query in the Java Persistence query language: @NamedQuery( name


javax.persistence Enum CascadeType java.lang.Object java.lang.Enum<javax.persistence.CascadeType> javax.persistence.CascadeType Implemented Interfaces: Serializable, Comparable ... cascade=ALL is equivalent to cascade={PERSIST, MERGE, REMOVE, REFRESH, DETACH}. Since: JPA 1.0


javax.persistence Interface EntityManagerFactory Interface used to interact with the entity manager factory for the persistence unit. When the application has finished using the entity manager ... an instance of Metamodel interface for access to the metamodel of the persistence unit. Return


javax.persistence Enum LockModeType java.lang.Object java.lang.Enum<javax.persistence.LockModeType> javax.persistence.LockModeType Implemented Interfaces: Serializable, Comparable ... .persistence.EntityManager methods that take locks ( lock, find, or refresh) or to the Query


javax.persistence Annotation Basic Target: Fields (including property get methods) The simplest type of mapping to a database column. The Basic annotation can be applied to a persistent property or ... other type that implements java.io.Serializable. The use of the Basic annotation is optional for persistent


javax.persistence Annotation Column Target: Fields (including property get methods) Is used to specify the mapped column for a persistent property or field. If no Column annotation is specified ... ) Whether the column is included in SQL INSERT statements generated by the persistence provider. (Optional


javax.persistence Interface PersistenceUtil Subinterfaces: PersistenceUnitUtil Utility interface between the application and the persistence provider(s). The PersistenceUtil interface instance obtained from the Persistence class is used to determine the load state of an entity or entity attribute

createEntityManagerFactory(persistenceUnitName, properties)

Static Method javax.persistence.Persistence EntityManagerFactory createEntityManagerFactory( String ... persistence unit using the given properties. Parameters: persistenceUnitName - the name of the persistence unit properties - Additional properties to use when creating the factory. The values


Annotation Element javax.jdo.annotations.Persistent PersistenceModifier persistenceModifier ... persistenceModifier is for embedded instances in which a member is not persistent but in the non-embedded instances the member is persistent. Note that it is not portable to specify a member to be not

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