About main

forum_thread

OptimisticLockException

Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed for object model.UserSession#28 (object has version 2 instead of 3) Also the first time I'm using odb in C/S mode rather than embedded. Also have the Explorer open Questions: a) what is it about? #1 2011-04-28 01:37 Ran into this error for the first time (after many years of using odb): Caused by: com.objectdb.o._Opti ...

 
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 ... this feature request and I'm already subscribed. The main problem for me was to get EM inside listener class. Hibernate uses Session ...

 
forum_thread

What role is the JDO in ObjectDB?

Mike Keith believe the JDO is out of date. Then what role of JDO in ObjectDB? Will our codes with JDO be out of date? <quot ... new applications JPA may be more attractive. This is the main reason why the documentation and tutorials of ObjectDB 2.x focuses on ...

 
manual

Paths and Types in JPQL and Criteria API

Explains how to use object expressions (path navigation, type) in JPA/JPQL.... path expressions in the above code can be divided into two main groups: FROM variable expressions , represented by ...

 
forum_thread

in-memory and on-disk support?

I've had a quick read through the features/FAQ and haven't been able to find a clear answer. I'm looking at replacing a setup of H2 where I have 40GB in-memory backed by 800GB on-disk, the 40GB in memory represents the first 40GB of the 800GB on-disk for super-fast recent entry searching, the records at the end continuously purge as the new ones come in(duplicate write, one to in-memory and one to on-disk). ... a continuous unfragmented disk space is the main advantage. Eliminating the need for space allocation later is a small ...

 
manual

Literals in JPQL and Criteria Queries

Describes literals in JPQL, including null, false, true, numbers, strings, dates enums and types.... literal expressions. Ordinary Literals The main method, literal literal(value) CriteriaBuilder's method ...

 
forum_thread

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

I have two classes a Container type class and another class that is 'contained' by that class. The contained class, CompoundKeyMapItem, represents an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works fine on Eclipselink. However when I try and run this in ObjectDb I get the following error; ... by: ... } }   public static void main ( String [ ] args ) throws IOException ...

 
issue

[ObjectDB 2.4.1] Unexpected exception (Error 990)

Hi, getting this unexpected exception, would welcome advice: ... org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)   ... I156 {   public static void main ( String [ ] args ) { ...

 
forum_thread

Great product - needs better marketing - more popularity

Hi, ObjectDB! While you have a very nice product, which I recommend everywhere I go, it is quite difficult to explain to my customers what is it and why we should use it, and things like that, because it's quite unknown.  It's a great product, therefore I'm building the 3rd product based on ObjectDB since the beginning of this year, but I think it would be much better if your db was more popular. ... banking). Unfortunately ODBMS did not get into the main stream yet and comparing to popular RDBMS (such as Oracle, SQL Server, My ...

 
forum_thread

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

During import big logs we are observed some memory leaks inside of ObjectDb, so, could you explain what we did incorrectly or investigate how to fix it ASAP. Source code which causing memory leaks: ... close ( ) The main problem that we are not expecting to close DB after import data and would ...