when I compare long type values with JCR-JQOM the query SQL2 generated doesnt
take care of long type.


it would be due to org.apache.jackrabbit.commons.query.sql2.QOMFormatter
method private void append(Literal value)
....
...
            case PropertyType.LONG:
                append(v.getString());

maybe would be

            case PropertyType.LONG:
                appendCastLiteral(v.getString(),"LONG");

it makes sense?

--
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/comparing-long-values-with-JCR-JQOM-fails-tp3450547p3450547.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to