ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh

Unexpected NoSuchFieldError exception

.NoSuchFieldError: __odbTracker 3) Attempt to start a transaction while another transaction is running. In ... .transact(ObjectDbDatabase.groovy:82) at app.framework.Database$transact.call(Unknown Source) at org ... .call(AbstractCallSite.java:117) at app.database.ObjectDbDatabase.transact(ObjectDbDatabase.groovy:82


- if there is no transaction QueryTimeoutException - if the statement execution exceeds the query timeout ... the query timeout value set and the transaction is rolled back Since: JPA 1.0


Annotation Element javax.persistence.PersistenceContext PersistenceContextType type (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. Default value: javax.persistence.PersistenceContextType.TRANSACTION Since: JPA 1.0

refresh(entity, properties)

of type PersistenceContextType.TRANSACTION and there is no transaction EntityNotFoundException - if the entity no longer exists in the database Since: JPA 2.0


Static Field javax.jdo.Constants String RESOURCE_LOCAL The value for TransactionType to specify that transactions are managed by the javax.jdo.Transaction instance, similar to the usage as documented in JSR-220. Since: JDO 2.1


Method javax.jdo.spi.StateManager boolean isNew( PersistenceCapable pc ) Tests whether this object has been newly made persistent. Instances that have been made persistent in the current transaction ... instance Returns: true if this instance was made persistent in the current transaction. Since: JDO 1.0 See Also: PersistenceManager.makePersistent(Object pc)


Method javax.jdo.spi.StateInterrogation PersistenceManager getPersistenceManager( Object pc ) Return the associated PersistenceManager if there is one. Transactional and persistent instances return the associated PersistenceManager. Transient non-transactional instances return null. Instances


Method javax.jdo.spi.PersistenceCapable boolean jdoIsNew() Tests whether this object has been newly made persistent. Instances that have been made persistent in the current transaction return true ... transaction. Since: JDO 1.0 See Also: javax.jdo.JDOHelper.isNew(Object pc) PersistenceManager.makePersistent(Object pc)


the application or the data store, then the ObjectId returned is only valid within the current transaction ... of the beginning of the transaction. Since: JDO 2.0 See Also: PersistenceManager.getObjectId(Object pc


Method javax.jdo.PersistenceManager void makeTransactionalAll( Collection pcs ) Make a Collection of instances subject to transactional boundaries. Parameters: pcs - the Collection of instances to make transactional. Since: JDO 1.0 See Also: makeTransactional(Object pc)

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