jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raybristol <rayg...@gmail.com>
Subject how to use date type in Query.XPATH ?
Date Mon, 24 Sep 2007 16:14:22 GMT

String path = "paper/*@ReceivedDate='20070905 00:00:00']"
Query q = qm.createQuery(path, Query.XPATH);

I want to do a search by a datetype varialbes like above, however it doesn't
work, I try a couple of different format with limited sucess, I couldn't get
much more information from google, I can easliy do a search for a String
type but just got no clue how to do with a date type!

Thanks for a million for your help!

Ray:,(
-- 
View this message in context: http://www.nabble.com/how-to-use-date-type-in-Query.XPATH---tf4509890.html#a12862234
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message