About lock

forum_thread

Connection is closed Caused by: java.io.EOFException

I am getting this exception on a regular basis, after a period of time of repeating the same code execution.  I don't understand why.  I restart the DB server and my code works again for another period of time until same exception is encountered again.  I cannot pin down a pattern e.g. after a certain period of time,  because the time  periods between exceptions are not regular, although frequent.  Any test case  I use will pass most of the time but will fail after an undetermined period. #1 2011-06-18 13:34 I am getting this exception on a regular basis, after a period of time of repeating the same code execution. &nbs ...

 
forum_thread

Sample JDO Architecture for Follow Up Questions

I am trying to finalize on my application's JDO and ObjectDB archieture.  I have done documentation survey (reading JDO books, studying ObjectDB's documents and forum) and have designed what I think is the best architecture for my particular application usage model. ...   "Where Does ObjectDB Block/Lock?" "How Should I Configure objectdb.conf to Obtain 256KB Disk IO ...

 
forum_thread

Weird behaviour with enhanced classes and embedded entities

Hi, I've found some weird behaviour in my project (www.tinymediamanager.org): Sometimes some entries of my ArrayLists with embedded entities are missing. I've hunted the problem down to an enhanced/proxied list in my entity which contains embedded entities and some .add(obj) are simply failing. Here is a small sscce which reproduces the issue: #1 2014-07-30 11:27 Hi, I've found some weird behaviour in my project (www.tinymediamanager.org): Sometimes some entries ...

 
issue

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception: ... access by different processes, but the lock may not be effective on some systems, or in the same process if there are ...

 
forum_thread

java.nio.channels.OverlappingFileLockException

Hello, whenever I re-deploy my web application in Sun Java System Web Server, I get the following exception and the application cannot run anymore. Any clue what I am doing wrong?  I use the file-based db access (local to the web app, as described in your tutorial). Thanks for pointers! Best, Benjamin   #1 2011-08-22 14:29 Hello, whenever I re-deploy my web application in Sun Java System Web Server, I get the following excepti ...

 
forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. #1 2016-06-27 11:16 Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectD ...

 
forum_thread

WORM (Write once read many) support

Hello, we would like to propose a feature in the objectdb if this is not already available. We use objectdb in our product development and deployment in high secure environments like police, military and government agencies. We have developed a specialized hardware device in a form of appliance which acts as archiving device for processing and storing logs, records and transactions. Hardware is specific in a way that it has a mechanism for preventing the data to be changed once they are written. #1 2017-02-12 10:45 Hello, we would like to propose a feature in the objectdb if this is not already available. We use objectdb in ou ...

 
page

ObjectDB - Object Database for Java (JPA/JDO)

Fast Object Database for Java with JPA 2 and JDO 2 support.... including: Avoiding vendor lock in - switching between implementations is easy. ...

 
forum_thread

Multithreading Test and Deadlock

I move on to testing the multi threaded part of ObjectDB. From the same code (MyMain.java), I set the thread count from 1 to 4 and not only do I found it's slower overall (each thread only needs to insert 250K entities) but the threads are stuck with a deadlock. All threads share the same EntityManagerFactory but they have their own EntityManager. The stack trace is attached. ... Thanks. It solved the dead lock. edit ...

 
forum_thread

Drop the entire database, Change the schema

I am trying to port and example app to ObjectDb. As part of the tests I drop the database and reload it with the new schema automatically between test cycles. Is there a simple way to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks #1 2011-08-24 12:19 I am trying to port and example app to ObjectDb. As part of the tests I drop the database and reload it with the ...