About check

forum_thread

Entity listener - event instead of object

Hi, Currently I'm playing with entity listener to implement auditing with difference between values in updated entity. There is a problem however with accessing "old" version of object stored in database. I can't find the nice way to use EntityManager in EntityListener. Because of that, I can't store separate entity for given event. Right now I'm using BaseEntity which contains ... how to get old version of given entity from database to check for difference in object fields? It should be something like creating ...

 
forum_thread

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

Hi, we are using ObjectDB 2.5.4_04 on Linux. Our application, which uses ObjectDb as a DB, exposes a Java RMI interface which allows remote RMI clients to run JPQL queries on the DB. The application internally runs SELECT NEW ... queries. For example: ... to set a value of a different type in an UPDATE query. Check your UPDATE queries and see if you can specify new values as long ...

 
forum_thread

Removing an entity throws exception

Hi all, I'm testing ObjectDB for my project, but I have troubles with it. At this time I'm not able to remove customer entity, when it's read by a query (it's attached), it throws this exception: Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: com.objectdb.o._RollbackException: Failed to commit transaction: 51 ... ... case. If you still have the old database please check it with this new fix.   ObjectDB ...

 
forum_thread

Insertion Speed Rate and Batch Load

1. I got about 10K inserts / second, is it normal? I would expect more than that, like close to 100K/second. I can definitely do 80K inserts/seconds on Oracle with batch insert on table with one primary key. 2. Is batch update/insert operation supported? I attached the files. #1 2011-05-03 22:01 1. I got about 10K inserts / second, is it normal? I would expect more than that, like close to 100K/second. I ca ...

 
forum_thread

Unexpected internal exception during set field of an Embeddable to null

Hello, we get an Unexpected internal exception and have no idea what goes wrong. We can reproduce (mostly) the error in a very big use case. In the big use case and we create and persist millions of SignalValueImpl objects (Embeddables). Partly as in the stack trace an Embeddable contain another Embeddable. It seems like that we can't reproduce the problem in smaller use cases with less objects. Stack trace: ... This exception is different. Could you please check for additional stack trace in the log file? You should be able to ...

 
release

2.3.6

... Removed  Conflicting modifiers  validation check and error message. Version 2.3.0 Added the ...

 
issue

Issue with DISTINCT Select

It is getting more and more frustrating :( We've introduced distinct select instead of regular selection in our code (no changes else) and suddenly receive invalid identifiers in queries exceptions in various queries. Here's the stacktrace: ... database for it. Try the query (without the TYPE($1)..() check as this causes more issues in explorer because the generated code from ...

 
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 ...

 
forum_thread

persistence.xml classes not respected by ObjectDB

Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 (+ their embeddable classes). P2 is created properly, but P1 gets all entity classes (from P2 also). How can this be avoided, so that both P1 and P2 get just the classes that were specified to each? There is no place in code where P1 tries to access classes from P2, so it makes no sense. #1 2013-08-20 07:48 Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 (+ the ...

 
issue

Page cache File handling produced an java.io.IOException: Negative seek offset

we get following exception when we execute a find() in a scenario, we can not readjust with an example.   Before the exception throws we get two outputs on std error: pos = -8192 length = 8192   The Exception: Bug Version: Priority: Critical Status: Fixed Replies: 9 Type:  Bug ...