jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1067) Referenced beans in an object graph should be persisted by the ocm automatically
Date Fri, 16 Nov 2007 05:56:43 GMT

    [ https://issues.apache.org/jira/browse/JCR-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542962
] 

Christophe Lombart commented on JCR-1067:
-----------------------------------------

After reflexion, I see 2 solutions : 
- create new converters 
- or apply your patch and set the mapping param : auto-insert, auto-update, auto-delete to
false in my case. 

I'm going to investigate the second one and review your patch. 

Thanks


> Referenced beans in an object graph should be persisted by the ocm automatically
> --------------------------------------------------------------------------------
>
>                 Key: JCR-1067
>                 URL: https://issues.apache.org/jira/browse/JCR-1067
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jcr-mapping
>    Affects Versions: 1.3.1
>            Reporter: Padraic Hannon
>         Attachments: BeanReferenceCollectionConverterImpl.diff, ReferenceBeanConverterImpl.diff
>
>
> Currently the BeanReferenceCollectionConverter and ReferenceBeanConverter classes only
persist the UUID of the referenced object. There should either be new converter classes that
cascade down the object graph to ensure all referenced items are created or updated, or the
existing ones should be updated to cascade. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message