jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AnupChatterjee <anup.chatter...@marketlive.com>
Subject Querying for all modified nodes based on jcr:lastModified
Date Thu, 24 Apr 2008 17:40:45 GMT

Hi,

I'm trying to query the repository for all the modified nodes under nt:file
changed since a particular TimeStamp

The problem I'm having is with querying with the right format of
lastModified
I have tried the XPATH query -
"//element(*, nt:file)/*[@jcr:lastModified > " + sqlTimestamp + "]"

java.sql.TimeStamp.toString as well as getTime() which returns long
millsecs.
Any ideas on what the right format is 

Can I even do it this way, or there is some other way to get all the changed
nodes.

Any help would be appreciated.

Thanks,
Anup Chatterjee
-- 
View this message in context: http://www.nabble.com/Querying-for-all-modified-nodes-based-on-jcr%3AlastModified-tp16851289p16851289.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message