About lock

faq

What is ObjectDB?

... management services (storage and retrieval, transactions, lock management, query processing, etc.), but it uses an object oriented model ...

 
forum_thread

Replication failed

Dear support members, I am trying to set up a replication url in objectdb.conf and have the the following error in the log files: [ObjectDB 2.3.4] javax.persistence.PersistenceException Failed to connect to server 127.0.0.1:6136 (Connection refused) (error 522) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:176) My objectdb.conf: #1 2012-07-02 09:06 Dear support members, I am trying to set up a replication url in objectdb.conf and have the the following ...

 
issue

Entity Version History

ObjectDB manages automatic entity versioning (for optimistic lock purposes). Every entity object modification is reflected by a new version number. Previous values in the entity object that are overridden by new values, however, are discarded. Some applications may benefit from the ability to go back in time and view old versions (and old values) of entity object. Future versions of ObjectDB should support archiving old versions of specific entity classes.... manages automatic entity versioning (for optimistic lock purposes). Every entity object modification is reflected by a new version ...

 
issue

Sort of very large objects - out of memory

The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object creation time and priority The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for reference. Feature Request Version: 2.3.0 Priority: Normal Status: Active Replies: 2 Type:  Feature Request ...

 
api-jdo

getOptimistic()

Optimistic transactions do not hold data store locks until commit time.(Method of javax.jdo.Transaction)

 
issue

Remove an entity which attributes were changed

We use an OSGi environment and we have three OSGi plugins.   In plugin A an entity is loaded and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes the entity from the database. After commit the transaction an exception is caused with optimistic lock exception of the removed entity.   If this operations on the entity are executed in only one plugin, it works well.   ... the transaction an exception is caused with optimistic lock exception of the removed entity.   If this operations ...

 
api-jpa

javax.persistence.PessimisticLockException

Thrown by the persistence provider when an pessimistic locking conflict occurs.(Exception of JPA)

 
forum_thread

ODB IndexActivation NullPointerException

Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon we create first query, NullPointerException is thrown: ... and then it happens again that we run into a dead lock   Maybe the additional picures of the thread states ... We run still into a dead lock. I adding a few screenshots and I hope it help you to find/solve the ...

 
issue

ObjectDB 2 JDO Manual

The new ObjectDB Manual describes how to use ObjectDB 2 with JPA. An additional manual that focuses on using ObjectDB 2 with JDO can help JDO users. But since writing a new manual and then maintaining two similar manuals, one for JPA and the other for JDO requires sufficient effort, this will be done only if there is sufficient demand.   Documentation Version: 1.04 Priority: Normal Status: Active Replies: 8 Type:  Documentation ...

 
forum_thread

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i'm also seeing in the slave logs when it's trying to replicate... #1 2012-07-23 07:17 I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i' ...