ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh
2

TemporalType injection with Calendar using JPA

When I use a java.util.Date as a field on this object there is no problem. However, if I use a java ... Brian O'Hare Calender is currently not one of the supported types for primary keys. JPA supports only java.sql.Date (or java.util.Date that is annotated as DATE). ObjectDB adds support of Time
0

javax.persistence.LockTimeoutException

at commit time. The current transaction, if one is active, will be not be marked for rollback ... about the current state of the stack frames for the current thread. Returns: a reference to this Throwable instance
0

javax.persistence.NoResultException

()is executed on a query and there is no result to return. This exception will not cause the current ... within this Throwable object information about the current state of the stack frames for the current
0

javax.persistence.OptimisticLockException

. This exception may be thrown as part of an API call, a flush or at commit time. The current transaction ... information about the current state of the stack frames for the current thread. Returns: a reference
0

javax.persistence.PersistenceException

, and QueryTimeoutException will cause the current transaction, if one is active, to be marked for rollback ... the execution stack trace. This method records within this Throwable object information about the current state of the stack frames for the current thread. Returns: a reference to this Throwable instance
0

javax.persistence.EntityNotFoundException

with pessimistic locking is used and the entity no longer exists in the database. The current transaction ... within this Throwable object information about the current state of the stack frames for the current thread. Returns
0

javax.persistence.QueryTimeoutException

is rolled back. The current transaction, if one is active, will be not be marked for rollback. Since: JPA 2 ... about the current state of the stack frames for the current thread. Returns: a reference to this Throwable instance
0

javax.persistence.PessimisticLockException

. This exception may be thrown as part of an API call, a flush or at commit time. The current ... information about the current state of the stack frames for the current thread. Returns: a reference
0

jdoGetTransactionalObjectId()

of the instance has not changed in the current transaction. If the JDO identity is being changed in the transaction, this method returns the current object id as modified in the current transaction
0

currentValue()

Method javax.jdo.datastore.Sequence long currentValue() Returns the current sequence value as a long. If the current sequence value is not available or is not numeric, throw JDODataStoreException. Returns: the current value Since: JDO 2.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