Yes, see on the Graffito project (http://incubator.apache.org/graffito/). We are building this kind of persistence framework (see the subproject : "jcr-mapping"). There are also the proposal in Jira. The current code is based on Jackrabbit but it should work with other JCR repo (with minor modifications).
Christophe 2005/9/6, Jakub Pawlowicz <[EMAIL PROTECTED]>: > Hi, > > I have encountered a problem. > Let's say there is an array of User objects. > Each User object has the following fields: name (String), password > (String), expirationDate (Calendar), activated (boolean). > I would like to persist the User objects as nodes and its fields as > appropriate properties, because I want the data to be fully searchable. > I should mention, that I would like to have a general solution - a > standard way to persist all kind of Java objects (JavaBeans) inside a > Jackrabbit repository. > > Now, what's the best approach to solve that kind of problem? > It seems that I need something like "Hibernate for JCR". > > Any help would be highly appreciated. > Regards > Jakub >