ObjectDB ObjectDB

Internal Website Search

21-30 of 43 resultsRefresh
5

refresh(entity, lockMode)

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

refresh(entity)

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

java.io.Serializable

, Throwable, TransactionRequiredException, PersistenceType, ValidationMode, VersionStrategy
5

executeUpdate()

Method javax.persistence.Query int executeUpdate() Execute an update or delete statement. Returns: the number of entities updated or deleted Throws: IllegalStateException - if called for a Java Persistence query language SELECT statement or for a criteria query TransactionRequiredException
5

refresh(entity, properties)

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

lock(entity, lockMode, properties)

entity TransactionRequiredException - if there is no transaction EntityNotFoundException
5

refresh(entity, lockMode, properties)

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

javax.persistence.PersistenceException

, OptimisticLockException, PessimisticLockException, QueryTimeoutException, RollbackException, TransactionRequiredException
5

getLockMode(entity)

Method javax.persistence.EntityManager LockModeType getLockMode( Object entity ) Get the current lock mode for the entity instance. Parameters: entity - entity instance Returns: lock mode Throws: TransactionRequiredException - if there is no transaction IllegalArgumentException - if the instance
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