ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
33

isLoaded(entity)

Method javax.persistence.PersistenceUtil boolean isLoaded( Object entity ) Determine the load state of an entity. This method can be used to determine the load state of an entity passed as a reference. An entity is considered loaded if all attributes for which FetchType.EAGER has been specified
32

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 ... is not a managed entity and a transaction is active Since: JPA 2.0
32

isLoaded(entity, attributeName)

Method javax.persistence.PersistenceUnitUtil boolean isLoaded( Object entity, String attributeName ) Determine the load state of a given persistent attribute of an entity belonging to the persistence unit. Parameters: entity - entity instance containing the attribute attributeName - name
32

LockTimeoutException(message, cause, entity)

Constructor javax.persistence.LockTimeoutException LockTimeoutException( String message, Throwable cause, Object entity ) Constructs a new LockTimeoutException exception with the specified detail message, cause, and entity. Parameters: message - the detail message. cause - the cause. entity - the entity. Since: JPA 2.0
32

OptimisticLockException(message, cause, entity)

Constructor javax.persistence.OptimisticLockException OptimisticLockException( String message, Throwable cause, Object entity ) Constructs a new OptimisticLockException exception with the specified detail message, cause, and entity. Parameters: message - the detail message. cause - the cause. entity - the entity. Since: JPA 1.0
32

OptimisticLockException(entity)

Constructor javax.persistence.OptimisticLockException OptimisticLockException( Object entity ) Constructs a new OptimisticLockException exception with the specified entity. Parameters: entity - the entity. Since: JPA 1.0
32

PessimisticLockException(message, cause, entity)

Constructor javax.persistence.PessimisticLockException PessimisticLockException( String message, Throwable cause, Object entity ) Constructs a new PessimisticLockException exception with the specified detail message, cause, and entity. Parameters: message - the detail message. cause - the cause. entity - the entity. Since: JPA 2.0
32

PessimisticLockException(entity)

Constructor javax.persistence.PessimisticLockException PessimisticLockException( Object entity ) Constructs a new PessimisticLockException exception with the specified entity. Parameters: entity - the entity. Since: JPA 2.0
32

Entity.name

Annotation Element javax.persistence.Entity String name (Optional) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved literal in the Java Persistence query language. Default value: "" Since: JPA 1.0
32

isLoaded(entity, attributeName)

Method javax.persistence.PersistenceUtil boolean isLoaded( Object entity, String attributeName ) Determine the load state of a given persistent attribute. Parameters: entity - entity containing ... if entity's state has not been loaded or if the attribute state has not been loaded, else true Since: JPA 2.0

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