Hi, Something I've seen when I started my tests with OCM was that I had to create classes corresponding to the standard node types. I created a Base class, corresponding to nt:base, which all can inherit from, then a class for nt:hierarcialNode, nt:folder etc.
It would be easier to use OCM if classes mapping the standard node types were available and automatically mapped, say under org.apache.jackrabbit.ocm.model.nt and org.apache.jackrabbit.ocm.model.mix. If you agree to that I can post a patch to jira. It would be even more easier to use if there were an up to date userguide, as it's not easy to figure out how to use it now. I'll post some questions as a separate mail. /Sverker > -----Original Message----- > From: Jukka Zitting [mailto:[email protected]] > Sent: den 2 november 2010 9:35 > To: [email protected] > Subject: RE: OCM or JCROM > > Hi, > > On 01.11.2010, at 22:17, sam lee wrote: > > Why is OCM (http://jackrabbit.apache.org/object-content-mapping.html) > > not included in version 2.1.1? > > See [1] and [2] for my past messages on this subject. To summarize: the > 1.5.x version of OCM works fine with Jackrabbit 2.x and the reason why > new OCM releases haven't been made is that no new features have been > added since 1.5. > > As mentioned earlier, I'd love to mentor efforts to revive OCM, but not > too many people seem to be interested in actively developing it. Prove > me wrong! > > From: Will Scheidegger [mailto:[email protected]] > > Somebody once said something that he/she ported OCM to Jackrabbit 2 > > but I think these efforts are lost in the meantime. > > See OCM-43 [3] for that effort. > > [1] http://markmail.org/message/fbx5jrzibva2r3pt > [2] http://markmail.org/message/zmpek2synwukcdiv > [3] https://issues.apache.org/jira/browse/OCM-43 > > > BR, > > Jukka Zitting
