ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
53

createEntityManagerFactory(persistenceUnitName, properties)

persistenceUnitName, Map properties ) Create and return an EntityManagerFactory for the named persistence unit using the given properties. Parameters: persistenceUnitName - the name of the persistence unit properties - Additional properties to use when creating the factory. The values
53

find(entityClass, primaryKey, lockMode, properties)

, LockModeType lockMode, Map<K,V> properties ) Find by primary key and lock, using the specified properties ... rollback If a vendor-specific property or hint is not recognized, it is silently ignored. Portable ... - entity class primaryKey - primary key lockMode - lock mode properties - standard and vendor
53

PersistenceContext.properties

Annotation Element javax.persistence.PersistenceContext PersistenceProperty[] properties (Optional) Properties for the container or persistence provider. Vendor specific properties may be included in this set of properties. Properties that are not recognized by a vendor are ignored. Default value: {} Since: JPA 1.0
53

refresh(entity, properties)

Method javax.persistence.EntityManager void refresh( Object entity, Map<String,Object> properties ) Refresh the state of the instance from the database, using the specified properties, and overwriting changes made to the entity, if any. If a vendor-specific property or hint is not recognized
53

lock(entity, lockMode, properties)

,Object> properties ) Lock an entity instance that is contained in the persistence context with the specified lock mode type and with specified properties. If a pessimistic lock mode type is specified ... only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently
53

refresh(entity, lockMode, properties)

<String,Object> properties ) Refresh the state of the instance from the database, overwriting changes ... properties. If the lock mode type is pessimistic and the entity instance is found but cannot be locked ... -level rollback If a vendor-specific property or hint is not recognized, it is silently ignored
53

find(entityClass, primaryKey, lockMode, properties)

, LockModeType lockMode, Map<String,Object> properties ) Find by primary key and lock, using the specified properties. Search for an entity of the specified class and primary key and lock it with respect ... only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently ignored
53

find(entityClass, primaryKey, properties)

,Object> properties ) Find by primary key, using the specified properties. Search for an entity ... , it is returned from there. If a vendor-specific property or hint is not recognized, it is silently ignored. Parameters: entityClass - entity class primaryKey - primary key properties - standard
5

find(entityClass, primaryKey, lockMode, properties)

, LockModeType lockMode, Map<K,V> properties ) Find by primary key and lock, using the specified properties ... rollback If a vendor-specific property or hint is not recognized, it is silently ignored. Portable ... - entity class primaryKey - primary key lockMode - lock mode properties - standard and vendor
5

Constants.PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER

Static Field javax.jdo.Constants String PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER Prefix used to configure javax.jdo.listener.InstanceLifecycleListener instances externally. To configure an InstanceLifecycleListener via properties, create a property name with the prefix of this constant

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