openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Bauer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-885) Support clear methods on EntityManager, including new CascadeType.CLEAR
Date Fri, 27 Feb 2009 18:57:13 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677470#action_12677470
] 

Jeremy Bauer commented on OPENJPA-885:
--------------------------------------

Regarding your question about a full cascading detach, in order to allow backward compatibility
and reuse as much of the existing code path as possible, a compatibility option sounds like
the way to go.  That would entail enhancing the existing detach logic to do a path-driven
cascade & making that the default behavior when in a JPA 2 environment.  If not in a JPA
2 environment, perform a full cascade by default.  In either environment, allow the default
to be overridden via a compatibility flag.

> Support clear methods on EntityManager, including new CascadeType.CLEAR 
> ------------------------------------------------------------------------
>
>                 Key: OPENJPA-885
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-885
>             Project: OpenJPA
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: Dianne Richards
>            Assignee: Dianne Richards
>             Fix For: 2.0.0
>
>         Attachments: patch.txt
>
>
> Support the 2.0 new  EntityManager clear() methods. Also support the new CascadeType.CLEAR.

-- 
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