About build

forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ... of ObjectDB in some cases of very large transactions. Build 2.4.3_02 includes an improvement that may prevent an ... Something is really wrong with new build. First, every time I run Doctor or server, ODB is creating directory with ...

 
forum_thread

Grouping by date()

Hi, For some time now we can use date and time function in queries to extract part of date time (from documentation): YEAR({d '2011-12-31'}) is evaluated to 2011. MONTH({d '2011-12-31'}) is evaluated to 12. DAY({d '2011-12-31'}) is evaluated to 31. HOUR({t '23:59:00'}) is evaluated to 23. MINUTE({t '23:59:00'}) is evaluated to 59. SECOND({t '23:59:00'}) is evaluated to 0. ... timestamps got different date values. Please try build 2.3.5_01. ObjectDB Support ObjectDB - Fast ... 2011-12-22 15:01 New build works well. Thanks. edit ...

 
issue

InternalException when using MEMBER OF on a large list in a query

Hello, we get when executing a query with MEMBER OF on a large list the following InternalException: Caused by: com.objectdb.o.InternalException: merge2 com.btc.ep.coverage.bl.internal.dmos.CoverageRecordImpl:null => merger[2850057]-missing:223 at com.objectdb.o.PBI.B(PBI.java:124) at com.objectdb.o.PBI.q(PBI.jave:97) at com.objectdb.o.OBI.Vp(OBI.java:244) (... more see attached Image) Our query looks like this: ... to understand and fix the issue without this help. Build 2.6.3_04 should fix it. The issue is caused because of a bug in ... queries can fail with versions of ObjectDB before the new build. Note that although the new build fixes the exception - storing ...

 
issue

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

Hello! When the JPA entities are not enhanced the remove of an entry from a @OneToMany collection is not possible. The following java code demonstrates the problem. The statement parentEntity.getChildEntityContainer().remove("01"); does not work with not enhanced JPA entities. ... int x ; } } Build 2.6.0_04 includes a fix of this issue. ObjectDB ... sorry. Somehow the fix has not been integrated into that build. Please try build 2.6.1. ObjectDB Support ...

 
forum_thread

Problem with byte arrays in JDO - ClassCastException

A bizarre ClassCastException is thrown if I attempt to obtain a byte array field as the result of a Query: Exception in thread "main" java.lang.ClassCastException: java.lang.Boolean cannot be cast to [B at spiffy.test.ObjectdbTest.main(ObjectdbTest.java:44) ... Thank you for this report. Please try build 2.7.1_08. ObjectDB Support ObjectDB - Fast ... 2017-09-15 00:11 build 2.7.1_08 does not fix the problem. ...

 
forum_thread

Compile time enhancement using build.xml of a Netbeans web application

Does anybody have a complete, working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? The ObjectDB 2.3 manual gives the following tip: ... working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile ... > The (rather overwhelming) nbproject/build-impl.xml of Netbeans, that is included into build.xml, offers a number of ...

 
forum_thread

Error during cascaded merge

Hello! I have a new problem with ObjectDB 2.5.5_02. This issue appeared after the upgrade from 2.5.5. I get the following exception: ... a clear error message. Unfortunately the fix in build 2.5.5_02 is broken. Please try build 2.5.5_03. ObjectDB Support ObjectDB - ...

 
issue

ArrayIndexOutOfBounds with Critera API and function call

Hello, This is getting really frustrating sorry but we're close before delivering our app to our customer and went against a show-stopper again. We're building a simple query with the criteria api. What we have is something like (pseudo code) ... with a function with no arguments. Please try build 2.4.4_07 that should fix this exception. Thank you for this ...

 
issue

JDO PersistenceManager.getSequence() returns null sometimes

When using JDO without annotations, database sequences are normally defined in the ORM file. Following discussion on the forum I was told that ObjectDB supports sequences if specified in the JDO file. Unfortunately, it doesn't seem to be supported consistently. It appears to work only in the situation that a new odb file has just been created AND something has been persisted to it. If nothing has yet been persisted, or if the odb file is not newly created, getSequence() returns null. Code to reproduce: ... ; factory. setConnectionURL ( "build/testcase.odb" ) ; PersistenceManager pm = ... 2013-03-18 15:41 Build 2.4.7_04 fixes this problem. Regarding the sequence names, the ...

 
forum_thread

Verify Error with Java 1.7

ObjectDB enhanced classes fail when compiled to Java 1.7 [ObjectDB 2.2.9_08 Enhancer] 28 persistable types have been enhanced: ... com.vaisala.jx.db.gdm.model.SourceType stack trace from jUnit test ... from 1.6 to 1.7, change compiler to 1.7, clean, build and deploy to GF - see error as below: Caused by: ... Thank you for this report. Please try build 2.2.9_10 that should enhance correctly Java 1.7 class files. ... Unfortunately the Enhancer fix was broken. Build 2.2.9_12 fixes it and in addition also applies the new addition only to ...