About main

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

 
forum_thread

explorer NullPointerException

I studied ObjectDB a few hours ago and got some problems when use explorer . I run it and right-click in 'Open local database' window,and the all the pop menu item is gray and disabled,such as ‘new database’,'new directory','cut','copy' ... if I click 'tools---oprions' before open database, the errot I got is: [2012-05-21 09:51:11 #1 explorer] java.lang.NullPointerException at com.objectdb.o.CNC.p(CNC.java:253) at com.objectdb.o.EHL.d(EHL.java:55) at com.objectdb.o.VPN.(VPN.java:60) at com.objectdb.o.OPD.(OPD.java:69) at com.objectdb.o.OPD.(OPD.java:42) ... like the picture I have uploaded。 so,the main problem is that I cannot create a database with explorer   ...

 
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 ... #1 2011-06-08 14:02 Hi all, I'm testing ObjectDB for my project, but I have troubles with it. At this time I'm not ab ...

 
forum_thread

Configure ObjectDB in spring context

I have a application that initializes with spring, now I'd like to change my data access tier to ObjectDB (from Hibernate : HSQL), but I couldn't find any useful information on it. My goal is to configure entire ObjectDB (optionally objectdb.conf too) in springs context.xml file so that I'd be able to inject EntityManagerFactory to my beans. Could you help me on this? ... environment ;   public static void main ( String [ ] args ) { ...

 
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

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

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

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

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