Christophe Lombart wrote:
> 
> There is a workaround but this is not the ideal solution :
> Make your own jcr query to get versions (as explained in the jcr
> specification - see 8.2.2.2) and get the object with the ocm method
> getObject(String path, String versionName)
> 

To make your own jcr query on MyObject.class classes, you can use the
QueryManager  ?

I don't thing this king of code would work : 

                QueryManager queryManager = ocm.getQueryManager();
                Filter filterChange = queryManager.createFilter(MyObject.class 
);
                filterChange.setScope( "/jcr:system/jcr:versionStrorage//");


-- 
View this message in context: 
http://www.nabble.com/OCM%2C-queries-and-version-history-tp21459838p21918082.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to