ObjectDB ObjectDB

Internal Website Search

31-40 of 194 resultsRefresh
102

Optimistic lock failed : object has version .. instead of ..

.OptimisticLockException Optimistic lock failed for object entities.Record#'1405/838/2011/121' (object ... :381) ... Thank you! adibe Adi Be Optimistic locking is explained in this manual page. support Support
102

Remove a modified entity cause an optimistic lock exception

. The second example is an OSGi program which fails with an optimistic lock exception. Both examples ... ). Can you explain the optimistic lock exception? It seems that the first level cache contains yet a dirty entity
102

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
100

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
100

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
100

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
94

Database is locked when in use

Database is locked when in use
20

File lock exception on odb$

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

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.
19

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

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