About named queries

forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. #1 2011-05-04 05:32 hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simu ...

 
issue

InternalException

I'm getting a new InternalException (see below). No repeatable example as yet but will work on that and let you know as soon as we have one. If there's anything in the exception which could help us narrow down the problem please let me know. ... (otherwise we used to get errors on empty database queries). The app also runs for a period of time before the first error occurs ...

 
issue

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception. If I decrease the load, it doesn't happen. If I increase it, I get it very often. Any solution/fix? A sample project is very hard, if not impossible, to create, because it uses all the system. ... while, I have to restart Tomee, because none of the DB queries work after those errors. It seems that all entity managers become ...

 
issue

Negative snapshot user count

I finally hit an instance of the "Negative snapshot user count" exception 1) ... that this problem can happen when using DELETE or UPDATE queries in a multithreaded application. A transaction snapshot may be released ...

 
forum_thread

OptimisticLockException

Have read read the documentation on optimistic locks, still not sure how to deal with these exceptions: [ObjectDB 2.2.5_04] javax.persistence.RollbackException Failed to commit transaction: Optimistic lock failed for object   #1 2011-05-28 22:27 Have read read the documentation on optimistic locks, still not sure how to deal with these exceptions: [ ...

 
forum_thread

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

Anyone know what this means?? Suddenly cropped up.   Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source) #1 2011-05-24 22:22 Anyone know what this means?? Suddenly cropped up. Failed to commit transaction: Attempt to commit ...

 
issue

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

Hello, in our application we use ObjectDB in embedded mode as part of the Profile that can be stored and opened by our customers. Our application is an eclipse RCP application with a domain-driven design. The product can be installed in different configurations (in other words with more or less PlugIns). This presents us with further challenges when we have made changes to DB schema for new versions. Feature Request Version: 2.7.1 Priority: High Status: Active Replies: 4 Type:  Feature Request ...

 
forum_thread

Add class to objectdb ?

Hello , i've made blank db project and opened with explorer.jar How can i add class file then push objects manually by explorer.jar   It only gave me blank : http://img543.imageshack.us/img543/7463/screenshot20130203at001.png       #1 2013-02-02 22:22 Hello , i've made blank db project and opened with explorer.jar How can i add class file then push ob ...