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


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
I have tried the XPATH query -
"//element(*, nt:file)/*[@jcr:lastModified > " + sqlTimestamp + "]"

java.sql.TimeStamp.toString as well as getTime() which returns long
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

Any help would be appreciated.

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.

View raw message