ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh


Method javax.persistence.EntityTransaction void commit() Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if isActive() is false RollbackException - if the commit fails Since: JPA 1.0


Method javax.persistence.EntityTransaction boolean getRollbackOnly() Determine whether the current resource transaction has been marked for rollback. Returns: boolean indicating whether the transaction has been marked for rollback Throws: IllegalStateException - if isActive() is false Since: JPA 1.0


Method javax.persistence.EntityManager T merge( T entity ) Merge the state of the given entity into the current persistence context. Parameters: entity - entity instance Returns: the managed instance that the state was merged to Throws: IllegalArgumentException - if instance is not an entity or


Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory( Map props ) Get a PersistenceManagerFactory based on a Properties instance, using the current thread's context class loader to locate the PersistenceManagerFactory class. Parameters: props - a Properties


Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory() Get the anonymous PersistenceManagerFactory configured via the standard configuration file resource "META-INF/jdoconfig.xml", using the current thread's context class loader to locate the configuration file


is only valid within the current transaction. Parameters: pc - the PersistenceCapable instance. Returns: a copy


Method javax.jdo.PersistenceManager boolean getMultithreaded() Get the current Multithreaded flag for this PersistenceManager. Returns: the Multithreaded setting. Since: JDO 1.0 See Also: setMultithreaded


will set the current transaction's RollbackOnly flag (see Transaction.setRollbackOnly). Since: JDO 2.0


Method javax.jdo.PersistenceManager JDOConnection getDataStoreConnection() If this method is called while a datastore transaction is active, the object returned will be enlisted in the current transaction. If called in an optimistic transaction or outside an active transaction, the object returned


Method javax.jdo.spi.PersistenceCapable boolean jdoIsTransactional() Tests whether this object is transactional. Instances whose state is associated with the current transaction return true. Transient instances return false. Returns: true if this instance is transactional. Since: JDO 1.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