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

#1

Hi,

  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 http://www.objectdb.com/database/issue/new
com.objectdb.o.InternalException: null
com.objectdb.o.InternalException
at com.objectdb.o.InternalException.f(InternalException.java:236)
at com.objectdb.o.QNF.k(QNF.java:309)
at com.objectdb.o.QNF.I(QNF.java:1250)
at com.objectdb.o.QNF.s(QNF.java:568)
at com.objectdb.o.QNF.k(QNF.java:200)
at com.objectdb.o.QNF.t(QNF.java:596)
at com.objectdb.o.QNF.t(QNF.java:588)
...........snip........

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

 

Thanks

#2

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
#3

   This release carries out the grouping and likes correctly.

 

Thanks!

 

Reply