About ORDER BY

forum_thread

Does ObjectDB support lazy loading?

I'm evaluating ObjectDB 2.0 RC1. Everything works fine except a lazy loading problem. I've a Parent class which contains List<Child>, marked with @OneToMany. After persisting a Parent object, (in the Explorer) I can see all the property values of the Child objects in the list. However, when the Parent object is read from EntityManager, all the properties except ID of the Child objects are null. The EntityManager is not yet closed when the getters are called.... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Doctor - high memory usage

Hi, Is it possible to reduce Doctor memory usage? Right now for recovering 67MB database, I need to set heap space to at least 450MB. Even then whole process takes ages. Optimal setting for this database is about 650MB. It's about ten times of size of database. ... (integrity check can be done on a backup copy generated by the online backup) - I think it is not an issue of high priority. ... 2.1.1_04] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_22 (on Linux 2.6.32-5-amd64). Please ...

 
forum_thread

High availability and other pratical questions

Hi,   I've just started developing a mobile app which will use a server side, hopefully handling a lot of processing and traffic. I was inteding to use TomEE+ with built-in OpenJPA and Postgres DB, initially on one master server but as it grows more master servers will be set (in different geo locations/data centers) using some data sync mechanism between them.   Now that i've met ObjectDB I want to check the option using it instead of postgres so I have few questions regarding it: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Objectdb server out of heap space

I have had a server crash with the following stack trace: ... needs. You may also try restarting the server in this case by setting a cron task that starts / restarts the ObjectDB server once in a ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

JPA - ExceptionInInitializerError when creating EntityManager

EntityFactoryManager(emf) is successfully received but error at emf.createEntityManager Please see my code of fragment from my project. public class Main {        final private static Properties EMAIL_PROPS;      final private static String EMAIL_FROM;            static {  EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("tmpCLMSPU"); ... error:- java.lang.ExceptionInInitializerError Caused by: javax.persistence.PersistenceException: java.lang.NullPointerException ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
issue

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

I was experiencing an exception so I did a test to reproduce it.   here it is. ... 2.2.6_02] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.6.0_17 (on Windows XP 5.1). Please report this ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

ArrayIndexOutOfBoundsException

Hi, I've been getting the following exception when trying to query ObjectDB in server mode version 2.3.4_05. ... Unexpected exception (Error 990)   Generated by OpenJDK 64-Bit Server VM 1.6.0_20 (on Linux 2.6.32-71.el6.x86_64). ... Unexpected exception (Error 990)   Generated by OpenJDK 64-Bit Server VM 1.6.0_20 (on Linux 2.6.32-71.el6.x86_64). ...

 
forum_thread

Threading Problem (maybe with Criteria)

Hi all I found some threading problems I do not understand: here is the the link to the testcase http://www.advolux.de/weblink%20forum/test.zip ... '. It seems that the map received by getAttrMap() is not thread safe (as would a ConcurrentLinkedHashMap). ... issue. Unfortunately we couldn't verify it by running your test because the classes  StringHelper and LogHelper ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
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. ... Source) at java.lang.Thread.run(Thread.java:662) Caused by: com.objectdb.o.InternalException at ... , register all the entity classes in the database by persisting and removing dummy objects, and then close the EntityManager ) ... first error occurs so several objects will have been saved by then. I'll try to create a test case based on the workaround I ...

 
issue

ArrayIndexOutOfBounds on showing Tree Window

... from the Schema in ObjectDB Explorer in version 2.6.5_04 I get then the following exception (plenty of them). ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...