javax.jdo.JDOUserException: Ordering expressions cannot be made on boolean or Boolean fields.

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Ordering using boolean field with Kodo 2.3.1

    Oracle Community | 1 decade ago | 3004
    javax.jdo.JDOUserException: Ordering expressions cannot be made on boolean or Boolean fields.
  2. 0

    Query bug?

    Oracle Community | 1 decade ago | 3004
    javax.jdo.JDOUserException: The query operator "startsWith" requires a constant value.

    Root Cause Analysis

    1. javax.jdo.JDOUserException

      Ordering expressions cannot be made on boolean or Boolean fields.

      at com.solarmetric.kodo.impl.jdbc.runtime.JDBCQuery.getExpression()
    2. com.solarmetric.kodo
      QueryImpl$SynchronizedQuery.execute
      1. com.solarmetric.kodo.impl.jdbc.runtime.JDBCQuery.getExpression(JDBCQuery.java:184)
      2. com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:575)
      3. com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:428)
      4. com.solarmetric.kodo.query.QueryImpl$SynchronizedQuery.execute(QueryImpl.java:1331)
      4 frames