ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh
2

isActive()

Method javax.persistence.EntityTransaction boolean isActive() Indicate whether a resource transaction is in progress. Returns: boolean indicating whether transaction is in progress Throws: PersistenceException - if an unexpected error condition is encountered Since: JPA 1.0
2

getRollbackOnly()

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
2

javax.persistence.EntityExistsException

and the entity already exists. The current transaction, if one is active, will be marked for rollback ... time. The current transaction, if one is active, will be marked for rollback. Since: JPA 1.0
2

remove(entity)

manager of type PersistenceContextType.TRANSACTION and there is no transaction Since: JPA 1.0
2

persist(entity)

TransactionRequiredException - if invoked on a container-managed entity manager of type PersistenceContextType.TRANSACTION and there is no transaction Since: JPA 1.0
2

merge(entity)

of type PersistenceContextType.TRANSACTION and there is no transaction Since: JPA 1.0
2

refresh(entity)

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

getPersistenceManager(pc)

Static Method javax.jdo.JDOHelper PersistenceManager getPersistenceManager( Object pc ) Return the associated PersistenceManager if there is one. Transactional and persistent instances return the associated PersistenceManager. Transient non-transactional instances and instances of classes
0

getObjectId(pc)

is only valid within the current transaction. Parameters: pc - the PersistenceCapable instance. Returns: a copy of the ObjectId of the parameter instance as of the beginning of the transaction. Since: JDO 1.0
0

isDeleted(pc)

Static Method javax.jdo.JDOHelper boolean isDeleted( Object pc ) Tests whether the parameter instance has been deleted. Instances that have been deleted in the current transaction return true ... the current transaction. Since: JDO 1.0 See Also: PersistenceManager.deletePersistent(Object pc) PersistenceCapable.jdoIsDeleted()

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