ObjectDB ObjectDB

Internal Website Search

31-40 of 198 resultsRefresh
107

Pessimistic lock

=true javax.jdo.option.RestoreValues=false The DB2 returns the message "Optimistic lock failed ... .objectdb.o._JdoUserException: Attempt to lock an entity object by retrieval when no transaction is activ
105

Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection
105

explorer locks local database in readonly mode

hi, my current use case is: execute unit test, verify results in explorer. my problem, i have to close the explorer before every run, and open it again after the tests are done. this slows down the whole process. i opened the database in readonly mode, but the file will be locked by the explorer
105

Optimistic lock

Hello When I get an optimistic lock on an object, refresh(), start trans and persist? Will the changes made to the object before the violation be retained or must they be duplicated in the retry code? Assuming it affects only one object. tia. cpanon CP The exact situation
99

Database is locked when in use

Database is locked when in use
99

Optimistic Lock Exception With No Concurrency

Optimistic Lock Exception With No Concurrency
21

File lock exception on odb$

below. No other process had a lock on the file, especially as the server had just been rebooted
20

JPA Entity Fields

with optimistic locking (as explained in the Locking in JPA section in chapter 3). You can expose ... field is explicitly defined. Therefore, optimistic locking is supported by ObjectDB
20

JPA Exceptions

causes for RollbackException are lock failures: Exceptions can also be thrown on an attempt ... during query execution: The lock exceptions (above) may also be thrown during retrieval, if database lock has been requested for retrieved entity objects and it cannot be granted.
16

javax.persistence.TypedQuery

() Get the current lock mode for the query. Get the current lock mode for the query. Returns: lock mode ... back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic

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