ObjectDB ObjectDB

Internal Website Search

11-20 of 198 resultsRefresh

Lock prevents PersistenceManager.close when retainValues = false

this is the result of a lock) when I try to close the persistence manager, but only if 'retainValues' is set ... .BufferedInputStream.read(BufferedInputStream.java:265) - locked <15cdd45> (a java.io ... .java:624) at java.lang.Thread.run(Thread.java:748) Locked ownable synchronizers

Pessimistic Lock Timeouts setting

Hi, I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. However, there is a standardised query 'hint' that can be setup to make the underlying DB lock a record for a specific time. The hint property is: "javax.persistence.lock.timeout" I have a situation

locks on pure query activities

that are just doing simple queries (just selects, no update or delete ...) show locks like these (question is: why there are locks and how could we get rid of that): log1: "qtp1523553211-271" #271 prio=5 ... ) - waiting to lock <0x0000000202239c10> (a com.objectdb.o.LFL) at com.objectdb.o.PAG.au

Pessimestic Locking doesn't release when application unexpectedly terminates.

. Our approach to this was to use Objectdb's pessimestic locking. This seems to work, but if the owner of the current pessimestic lock abruptly quits without releasing the lock it doesn't get released. Is there anyway the server can detect that a client (lock owner is no longer connected

"Attempt to lock a non entity object" error

and then doCancelEdit works fine. Second time I doEdit produces the error "Attempt to lock a non entity ... () { try {     session.beginTransaction();     session.lock(subjectJList.getSelectedValue ... ------------------------------------------------------------- Attempt to lock a non entity object

Where Does ObjectDB Block/Lock?

titled, "Sample JDO Architecture for Follow Up Questions". Questions about blocking/locking ... blocking/locking so I might adapt to achieve better concurrency. 1) Where are locks when accessing PersistenceManager by multiple threads? 2) Does it lock at PersistenceManager.currentTransaction()? 3

EntityManagerFactory objects being locked during EntityManager creation

objects are being locked during EntityManager object creation. Please refer the below stacktrace ... to lock <76bf096d> (a com.objectdb.jpa.EMF) owned by "https-openssl-nio-8443-exec-132" t@330 at com ... (BufferedInputStream.java:345) - locked <19e9ce09> (a java.io.BufferedInputStream) at com.objectdb.o.NTS.n

Optimistic lock failed for object

Hi, I seem to be getting a lot of these optimistic locking errors: Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed for object Is there any way to force the database to use pessimistic locking only? I've tried various xml configurations, and also various transaction

pesimistic Lock semantic

Hi I have tested pesimistic lock and the result was for me unexpected. In the first transaction i ... that lock could not be granted, quite nice but in that moment I wanted commit the first transaction and I also got lock exception. this the test: public void testPesimisticLock() { PersistenceManager

each 1-2 days objects on some objectdb level lock/block each other

The two thread dumps show two different waiting situations. The first thread dump shows a page cache lock ... it is not a deadlock but a very short lock that is not expected to cause issues. The change in ObjectDB ... enabled="false" sync="false" path="." mode="write" /> <locking version-check="true

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