Fast Object Database for Java - with JPA/JDO support

Internal Website Search

21-30 of 200 resultsRefresh
37

lock(entity, lockMode, properties)

Method javax.persistence.EntityManager void lock( Object entity, LockModeType lockMode, Map properties ) Lock an entity instance that is contained in the persistence context ... and the entity contains a version attribute, the persistence provider must also perform optimistic
37

lock(entity, lockMode)

Method javax.persistence.EntityManager void lock( Object entity, LockModeType lockMode ) Lock an entity instance that is contained in the persistence context with the specified lock mode type. If a pessimistic lock mode type is specified and the entity contains a version attribute, the persistence
37

refresh(entity, lockMode, properties)

Method javax.persistence.EntityManager void refresh( Object entity, LockModeType lockMode, Map ... made to the entity, if any, and lock it with respect to given lock mode type and with specified properties. If the lock mode type is pessimistic and the entity instance is found but cannot be locked
37

refresh(entity, properties)

Method javax.persistence.EntityManager void refresh( Object entity, Map properties ... , and overwriting changes made to the entity, if any. If a vendor-specific property or hint is not recognized, it is silently ignored. Parameters: entity - entity instance properties - standard and vendor-specific
37

isLoadedWithoutReference(entity, attributeName)

Method javax.persistence.spi.ProviderUtil LoadState isLoadedWithoutReference( Object entity, String attributeName ) If the provider determines that the entity has been provided by ... . If the provider determines that the entity has been provided by itself and that either entity attributes
37

refresh(entity, lockMode)

Method javax.persistence.EntityManager void refresh( Object entity, LockModeType lockMode ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type. If the lock mode type is pessimistic and the entity
37

refresh(entity)

Method javax.persistence.EntityManager void refresh( Object entity ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any. Parameters: entity - entity instance Throws: IllegalArgumentException - if the instance is not an entity or the entity is not
37

isLoaded(entity)

Method javax.persistence.spi.ProviderUtil LoadState isLoaded( Object entity ) If the provider determines that the entity has been provided by itself and that the state of all attributes ... . If the provider determines that the entity has been provided by itself and that not all attributes
37

javax.persistence.Entity

javax.persistence Annotation Entity Target: Classes Specifies that the class is an entity. This annotation is applied to the entity class. Since: JPA 1.0 Learn how to define and use entity classes in Chapter 2 of the ObjectDB/JPA manual. String name (Optional) The entity name. (Optional) The entity
36

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

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