Help: After upgrading from 2.2.8_02 to 2.2.8_04, can't perform LIKE query



  AFter the upgrade from 2.2.8_02 (not sure if it was build 03/04 as I skipped 03) - my LIKE queries have stopped working during a regression test. As an example output:

Query: SELECT $1 FROM Company $1 WHERE ((($1.companyId LIKE :p1) AND ($1.conditionOne=true)) AND ((($1.conditionTwo=false) OR ($1.conditionThree=false))))

Exception in thread "main"
[ObjectDB 2.2.8_04] Unexpected exception (Error 990)
  Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_26 (on Mac OS X 10.6.8).
Please report this error on
com.objectdb.o.InternalException: null
at com.objectdb.o.InternalException.f(
at com.objectdb.o.QNF.k(
at com.objectdb.o.QNF.I(
at com.objectdb.o.QNF.s(
at com.objectdb.o.QNF.k(
at com.objectdb.o.QNF.t(
at com.objectdb.o.QNF.t(

Attached is the test I am using to expose the situation a bit clearer. The field 'companyId' is a string.




The criteria query AND/OR fix in 2.2.8_04 caused this new problem.

Please try build 2.2.8_05 that should fix it.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

   This release carries out the grouping and likes correctly.




Post Reply

To post a reply and/or subscribe to update notifications - please login