You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stack trace:
Exception in thread "main" java.lang.ClassCastException: java.lang.Character cannot be cast to java.lang.Number
at org.zoodb.internal.query.QueryOptimizer.determineIndexToUseSub(QueryOptimizer.java:279)
at org.zoodb.internal.query.QueryOptimizer.determineIndexToUse(QueryOptimizer.java:114)
at org.zoodb.jdo.impl.QueryImpl.runQuery(QueryImpl.java:580)
at org.zoodb.jdo.impl.QueryImpl.executeWithArray(QueryImpl.java:728)
at org.zoodb.jdo.impl.QueryImpl.execute(QueryImpl.java:707)
at com.sip.App.main(App.java:49)
Test case is attached, just rename png to zip.
The text was updated successfully, but these errors were encountered:
By the way, specifying char value right in the filter condition is not working as well:
q.setFilter("ch == 'a' || ch == 'z'");
Error is: Exception in thread "main" javax.jdo.JDOUserException: Query parsing error at 'a' near position 7: Incompatible types,
found 'String', expected: char. Query= ch == 'a' || ch == 'z'
Stack trace:
Exception in thread "main" java.lang.ClassCastException: java.lang.Character cannot be cast to java.lang.Number
at org.zoodb.internal.query.QueryOptimizer.determineIndexToUseSub(QueryOptimizer.java:279)
at org.zoodb.internal.query.QueryOptimizer.determineIndexToUse(QueryOptimizer.java:114)
at org.zoodb.jdo.impl.QueryImpl.runQuery(QueryImpl.java:580)
at org.zoodb.jdo.impl.QueryImpl.executeWithArray(QueryImpl.java:728)
at org.zoodb.jdo.impl.QueryImpl.execute(QueryImpl.java:707)
at com.sip.App.main(App.java:49)
Test case is attached, just rename png to zip.
The text was updated successfully, but these errors were encountered: