ObjectDB ObjectDB

Internal Website Search

21-30 of 44 resultsRefresh
5

lock(entity, lockMode, properties)

entity TransactionRequiredException - if there is no transaction EntityNotFoundException
5

remove(entity)

Method javax.persistence.EntityManager void remove( Object entity ) Remove the entity instance. Parameters: entity - entity instance Throws: IllegalArgumentException - if the instance is not an entity or is a detached entity TransactionRequiredException - if invoked on a container-managed entity
5

refresh(entity, lockMode)

is not managed TransactionRequiredException - if there is no transaction and if invoked on a container
5

find(entityClass, primaryKey, lockMode)

TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified
5

refresh(entity)

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

persist(entity)

TransactionRequiredException - if invoked on a container-managed entity manager of type PersistenceContextType.TRANSACTION and there is no transaction Since: JPA 1.0
5

find(entityClass, primaryKey, lockMode, properties)

argument is not a valid type for that entity's primary key or is null TransactionRequiredException
5

merge(entity)

is a removed entity TransactionRequiredException - if invoked on a container-managed entity manager
5

lock(entity, lockMode)

is a detached entity TransactionRequiredException - if there is no transaction EntityNotFoundException
0

find(entityClass, primaryKey, lockMode, properties)

argument is not a valid type for that entity's primary key or is null TransactionRequiredException

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