ObjectDB ObjectDB

Internal Website Search

101-110 of 194 resultsRefresh
9

Redeployment in GlassFish - Failed to open file

file is kept locked by the old Glassfish application (class loader) because of a missing invocation of EntityManagerFactory's close (which should release the database file lock) by Glassfish. As ... . The difference is that, the file is not locked, however the class loader exception still exists and I
9

Replication error on slave restart

="." mode="write" /> <locking version-check="true" /> <processing cache="64mb" max-threads="8 ... " />   <recording enabled="false" sync="false" path="." mode="write" />   <locking version-check="true ... : Optimistic lock failed (see multiple nested exceptions) at com.objectdb.o.MSG.d(MSG.java:61
9

Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception

call to the PersistenceManagerFactory, locking down set/get methods of the Symbol class via java.util.concurrent.locks.ReentrantReadWriteLock locks, and varying the length (number of actions) within a transaction
9

Occasionally slow requests in load testing

it is the other side of the first stack trace, which locks that monitor. support Support This is not related to any specific ... " /> <recording enabled="false" sync="false" path="." mode="write" /> <locking version-check="true ... the working threads (e.g. database pages) is much more extensive so lock competition is more likely
9

Unable to delete the .odb file programatically

(and release the lock) . support Support I tried closing persistanceManagerFactory too but no luck ... for releasing the lock so that database files can be deleted     PersistenceManager pm = getPM ... is having the lock and that is the reason, we are unable to delete the odb file. I have totally 3 odb
1

database corrupt

="." mode="write" /> <locking version-check="true" /> <processing cache="4096mb" max-threads="24 ... two processes. ObjectDB protects against this option by using a file lock (e.g. you probably see an error ... this Java file lock is system dependent and might not work in some systems (e.g. if the file
1

InternalException during producer/consumer scenario

.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly ... locking an object that was locked by the committed transaction. Passing null to EntityManager's methods
1

Error during closing an entity manager

and with this one we get an optimistic lock exception without enhancement. If we enhance all entities then the issue does ... changed the exception from the one in #3 above to an optimistic lock exception. More information ... be your priority now. support Support We have found the reason of the optimistic lock exception and we fixed
1

ObjectDB 2.2.4

Added support of JPA UPDATE and DELETE queries (issue #12). Added support of pessimistic lock timeout (javax.persistence.lock.timeout). Added implementation of the getParameters method. Added exception on pessimistic locking retrieval with no active transaction. Improved support of entity objects
1

Query in nested transaction returns detached entity if lazy-loaded

= 1) and committed, during the commit an optimistic lock exception is thrown. The version flag ... to commit transaction: Optimistic lock failed for object com.btc.ep.base.bl.internal.entities.mapping ... .java:311) ... 45 more Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed

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