jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boni Gopalan \(BioImagene\)" <Bon...@bioimagene.com>
Subject RE: Jackrabbit:OCM : Recursive Same Type Objects
Date Mon, 22 Sep 2008 09:19:59 GMT
Hi Christopher:

The recursive beans get persisted without any problems.  So it was a non
issue.  I need a quick help on persisting an Enum.  Is there a converter
available?,  Should I have to implement a custom converter?  If so would
it be an Atomic Converter or a Bean Converter?

On another note : I had a need to update multiple objects based on a
Query.  Since there were no suitable methods available I extended your
ObjectContentManagerImpl and implemented an updated method that accepts
a node iterator and Object as parameters.  Did I reinvent any wheels?

Thanks
Boni

-----Original Message-----
From: Christophe Lombart [mailto:christophe.lombart@gmail.com] 
Sent: 19 September 2008 14:47
To: users@jackrabbit.apache.org
Subject: Re: Jackrabbit:OCM : Recursive Same Type Objects

for a bean, no problem but we have to check this specific case within
Collection.
We have to add a unit test and a bug fix if needed.

It is not working, please create a jira issue. I can work on it.

Christophe


On Fri, Sep 19, 2008 at 10:19, Boni Gopalan (BioImagene) <
Boni.G@bioimagene.com> wrote:

> Hi , I have a need to persist objects of the following structure.
>
> Class Foo{
>        String id;
>        List<Foo> children;
> }
>
> Is it possible to achieve a proper mapping with XML mappings?  Is
there
> any recursion stopper that will stop me at runtime??, I see an ominous
> test config file named : jcrmapping-avoidrecursiveloop in the trunk!!
>
> Sorry, I should have rather tried it first before asking: Very tight
> deadline !!
>
> Thanks
> Boni
>

Mime
View raw message