Hi, Sorry for the delay. It was a very long and a very nice vacation :-) Are you not looking of something like this ( query based on ancestor classes) : http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/inheritance/AnnotationInheritanceConcreteClassTest.java?revision=607620&view=markup
or http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/test/java/org/apache/jackrabbit/ocm/manager/inheritance/AnnotationInheritanceHierarchyTest.java?view=log On Fri, Aug 15, 2008 at 11:15, Aleksei Lukin <[EMAIL PROTECTED]> wrote: > Hello, jackrabbit guys! > > Could you please give me a hint for searching any OCM mapped node derived > from base type? > I have slightly different OCM nodes like News, Artilce, Video, etc derived > from BaseNode with fields that may be used as search criteria. > I need search JCR for that nodes and later determine OCM type to display > item right way. > > In general case I want to search entire repository and get a collection of > OCM classes as result. > > TNX. > -- > SY, Alex Lukin > RIPE NIC HDL: LEXA1-RIPE >
