jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Lombart <christophe.lomb...@gmail.com>
Subject Re: Persisting real objects
Date Tue, 06 Sep 2005 17:41:49 GMT
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 <contact@jakubpawlowicz.com>:
> 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
>

Mime
View raw message