Hi, I don't think you would need to cast explicitly.
do you have an example where this breaks? a unit test maybe ;) alex On Thu, Apr 14, 2011 at 9:49 PM, mmjose26 <[email protected]> wrote: > 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. >
