ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
3

javax.persistence.PersistenceContext

get methods) Expresses a dependency on a container-managed EntityManager and its associated persistence context. Since: JPA 1.0 String name (Optional) The name by which the entity manager ... ) The name by which the entity manager is to be accessed in the environment referencing context; not
3

managedType(cls)

Method javax.persistence.metamodel.Metamodel ManagedType<X> managedType( Class<X> cls ) Return the metamodel managed type representing the entity, mapped superclass, or embeddable class. Parameters: cls - the type of the represented managed class Returns: the metamodel managed type Throws: IllegalArgumentException - if not a managed class Since: JPA 2.0
3

createEntityManager(map)

a new application-managed EntityManager with the specified Map of properties. This method returns ... on the returned instance. Parameters: map - properties for entity manager Returns: entity manager instance Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 1.0
3

javax.persistence.PersistenceUnit

. Since: JPA 1.0 String name (Optional) The name by which the entity manager factory is to be accessed in ... by which the entity manager factory is to be accessed in the environment referencing context; not ... for the entity manager factory that is accessible in JNDI must have the same name. Default value: "" Since: JPA 1.0
3

persist(entity)

Method javax.persistence.EntityManager void persist( Object entity ) Make an instance managed and persistent. Parameters: entity - entity instance Throws: EntityExistsException - if the entity ... TransactionRequiredException - if invoked on a container-managed entity manager of type PersistenceContextType.TRANSACTION and there is no transaction Since: JPA 1.0
3

merge(entity)

Method javax.persistence.EntityManager T merge( T entity ) Merge the state of the given entity into the current persistence context. Parameters: entity - entity instance Returns: the managed instance ... is a removed entity TransactionRequiredException - if invoked on a container-managed entity manager
3

refresh(entity)

managed TransactionRequiredException - if invoked on a container-managed entity manager of type
0

javax.jdo.InstanceCallbacks

other instances on changes to state. The persistent instance might be in a list of managed instances ... , and the persistent instance should be removed from the list of managed instances. To implement this, the application programmer would implement jdoPostLoad to put itself into the list of managed instances
0

getObjectId(pc)

that created the identity, and only for two types of JDO Identity: those that are managed by the application, and those that are managed by the data store. If the object identity is being changed in ... of the class used to manage identity internally. Therefore, if the application makes a change to the ObjectId
0

getObjectId(pc)

have a JDO identity managed by the PersistenceManager. This method returns a copy of the ObjectId ... identity. If the JDO identity is managed by the application, then the ObjectId may be used ... identity is not managed by the application or the data store, then the ObjectId returned

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