About ORDER BY

issue

ClassCastException thrown when running count query

Hello! Attached you find a full stacktrace. The query was: ... from the database of objects that are still referenced by other objects. Can I run the first query on this database? Could you ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

Is it ok to put list or map of embeddable objects in entity ?

Hi, Is it ok to put list or map of embeddable objects in entity? I mean, for example : @Entity public class Entity_A {     (...)     @Embedded     List<Class_B> bList;     @Embedded     Map<String, Class_C> cMap; (...) } where Class_B and Class_C are annotated as @Embeddable ? In the examples, there is only situation where there is one single instance of embeddable class in entity. And what happens if I do operation like : ... 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

Apparent Lazy Loading issues.

Hi, Thanks for the quick investigation. That has indeed fixed that issue. However there appear to be two more. ... 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

ObectDb 2.3.6 in OSGi environment

Hello, I'm trying to use ObjectDb within OSGi bundles. I have one bundle for db accens which uses ObjectDb and another bundle which includes the POJO models. Everytime I start in plugin evironement i get an PersistenceException, because my POJO not found. If try the same test in normal Java environment everthing works fine. Can you please advice? Thx Peter ... by: com.objectdb.o.TEX: Type com.rulesengine.interfaces.IRuleValueNode is not ... 57 more Caused by: java.lang.ClassNotFoundException: ... by: com.objectdb.o.UserException: Unknown named query ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
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) ... of the Explorer. Meanwhile, you should start by creating an initial database with initial content by a Java program.   ObjectDB Support ...

 
issue

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null:

The following error appears under and extended persistence context, and with creation, configuration and wiring code that is known to work perfectly with EclipseLink+Glassfish: SEVERE: Unexpected internal exception ... exception ( Error 990 ) Generated by Java HotSpot ( TM ) 64 - Bit Server VM 1.6.0_26 ( ... java : 172 )   ..   Caused by : javax. ejb . EJBException : Unexpected internal exception at ...

 
forum_thread

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager.newQuery("LogEntryAttrebuteImpl.calss", "typeIndexes.contains(this.type) && logEntryIdList.contains(this.logEntryId)"); ... To activate the index the database has to be rebuilt by running the Doctor in repair mode. After fixing the index in that database (by running the Doctor) the query runs fast. ObjectDB ...

 
forum_thread

Problem with @Basic(fetch = FetchType.LAZY)

I have a class where two fields are annotated with @Basic(fetch = FetchType.LAZY) due to them containing quite long Strings and me loading ALL entities of the database on application startup (swing app) This class should hopefully demonstrate the problem: ... 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

JDO sequences from ORM file

I want to use sequences in JDO without using annotations. Normally this is done with a package-X.orm file, where X is a value passed to the PersistenceManagerFactory as the value of property "mapping". I'm encouraged to see that the JDO zip that comes with ObjectDB includes the DTD/XSD for this type of file, though I can't see a mention of it in the manual. ... Thanks. I have got this working, by a combination of moving the sequence from ORM to JDO file, specifying the ... users use JPA, so JDO features that are not covered by the JDO TCK or by our own JDO tests, may sometimes be broken, until someone ...

 
issue

Out of Memory - Slow leak?

This is a continutaion of Issue 61 - unfortunately it doesnt seem that the fix in 2.2.9_03 has fixed the problem. The scenario is still the same: I have two "producer" processes which insert messages into an objectdb "queue" database running with an objectdb server process. I have one "consumer" process which reads messages from the queue database and inserts these into an embedded "normal" objectdb database. This is the process which has generated the OOM exception. ... these to you - the files are large and ftp is disabled by my organisation - so please bear with me on this. In the meantime I've ... Please try build 2.2.9_07. It should solve the problem by blocking an attempt to decrease the reference count below 0. In ...