ObjectDB ObjectDB

Internal Website Search

91-100 of 195 resultsRefresh
15

Several parallel threads to speed up query on one DB

just noticed: I used to do a clear after running each query - The lock contention disappears when I ... profiling mode in netbeans - select the Threads view (timeline) and the lock contention view. You can see that Thread R1 is running smoothly with no lock Step3 : run test_TWO_queries
13

Setting temp directory location in ObjectDB

. binitbhaskar Binit Bhaskar This might be a side effect of the file locking method that is used by ... for the parent folder, won't ObjectDB locking method throw exceptions if it does not get the write permission ... permission permission is blocked for the parent folder, won't ObjectDB locking method throw exceptions
13

How to do multithreading with embedded ObjectDB

, rather than concurrently:     synchronized (lock) {         em.createQuery("UPDATE Point SET x = x + 1").executeUpdate();     } Your lock object must be one object that is shared by all the threads. 2. Use ObjectDB / JPA locking, by setting a pessimistic locking timeout, e.g. by: Map<String
13

OptimisticLockException

._OptimisticLockException: Optimistic lock failed for object model.UserSession#28 (object has version ... here. EDIT: Merge will attach Willks William Optimistic locking is enabled by ObjectDB automatically even if no version field is defined. You can disable optimistic locking checks (and eliminate
13

Some technical questions

Hi, ObjectDB looks interesting. Have two technical questions... (1) what locking model does ... you, Andrej andrej Andrej Gabara (1) what locking model does ObjectDB use? I.e. 2PL or MVCC? Do writers block readers? Do readers block writers? ObjectDB implements the standard JPA locking model
13

Remove an entity which attributes were changed - OptimisticLockException

the entity from the database. After commit the transaction an exception is caused with optimistic lock ... flushing changes to the database. You may also disable optimistic locking checks if you do not need ... to the optimistic lock exception. But the ObjectDB throws the changes of the entity, if invoking
12

Failed to commit transaction: Attempt to commit a rollback only transaction

of locking problem, but for some reason it persists across database restarts, which is scary ... ="." mode="write" /> <locking version-check="false" /> <processing cache="64mb" max-threads="10 ... Moshal note: optimistic locking is off dmoshal David Moshal update 1: problem persists if optimistic
12

New Index causing troubles

(IXA.java:176) com.objectdb.o.IXM.Yz(IXM.java:100) com.objectdb.o.MST.X(MST.java:1194) - locked com.objectdb.o.MST@1881a6d5 com.objectdb.o.MST.Z2(MST.java:1181) - locked com.objectdb.o.MST@1881a6d5 com.objectdb.o.IXA$1.run(IXA.java:418) - locked com.objectdb.o.LKM@7b5315ca
3

javax.persistence.LockTimeoutException

: Serializable Thrown by the persistence provider when an pessimistic locking conflict occurs that does
2

again merger missing logs + objectdb exception

to remain healthy). It shows that this happens when an optimistic lock exception is thrown during commit, and failed (locked) objects are loaded by keys (which could be section keys) for the error message ... of optimistic lock exceptions, which should fail regardless of printing their location now to the log. support

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