ObjectDB ObjectDB

Internal Website Search

1-10 of 35 resultsRefresh
140

javax.persistence.LockTimeoutException

Is it possible to change a LockTimeout for pessimistic lock? glaz Alexandr Kurucin Currently ObjectDB throws a LockTimeoutException immediately when a pessimistic lock cannot be granted. Future versions will support timeout setting. You may fill a feature request to increase the priority of this feature. support Support
121

LockTimeoutException(message, cause, entity)

Constructor javax.persistence.LockTimeoutException LockTimeoutException( String message, Throwable cause, Object entity ) Constructs a new LockTimeoutException exception with the specified detail message, cause, and entity. Parameters: message - the detail message. cause - the cause. entity - the entity. Since: JPA 2.0
121

LockTimeoutException(message, cause)

Constructor javax.persistence.LockTimeoutException LockTimeoutException( String message, Throwable cause ) Constructs a new LockTimeoutException exception with the specified detail message and cause. Parameters: message - the detail message. cause - the cause. Since: JPA 2.0
121

LockTimeoutException(message)

Constructor javax.persistence.LockTimeoutException LockTimeoutException( String message ) Constructs a new LockTimeoutException exception with the specified detail message. Parameters: message - the detail message. Since: JPA 2.0
121

LockTimeoutException(entity)

Constructor javax.persistence.LockTimeoutException LockTimeoutException( Object entity ) Constructs a new LockTimeoutException exception with the specified object. Parameters: entity - the entity. Since: JPA 2.0
121

LockTimeoutException(cause)

Constructor javax.persistence.LockTimeoutException LockTimeoutException( Throwable cause ) Constructs a new LockTimeoutException exception with the specified cause. Parameters: cause - the cause. Since: JPA 2.0
121

LockTimeoutException()

Constructor javax.persistence.LockTimeoutException LockTimeoutException() Constructs a new LockTimeoutException exception with null as its detail message. Since: JPA 2.0
107

javax.persistence.LockTimeoutException

javax.persistence Exception LockTimeoutException java.lang.Object java.lang.Throwable ... .PersistenceException javax.persistence.LockTimeoutException Implemented Interfaces ... . Since: JPA 2.0 LockTimeoutException() Constructs a new LockTimeoutException exception with null as
84

getObject()

Method javax.persistence.LockTimeoutException Object getObject() Returns the object that caused this exception. Returns: the entity Since: JPA 2.0
37

Locking in JPA

an active transaction. A LockTimeoutException is thrown if the requested pessimistic lock ... of pessimistic lock modes, which also includes PESSIMISTIC_WRITE, will cause a LockTimeoutException ... occurs a LockTimeoutException is thrown immediately. The "javax.persistence.lock.timeout" hint

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