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

Pinaki Poddar commented on OPENJPA-885:
---------------------------------------

    /**
     * Whether openjpa will always cascade on detach, regardless of the
     * cascade setting.
     * 
     * @return true if cascade will always occur, false if cascade will only
     * occur if it is specified in metadata
     * 
     * @since 2.0.0
     */
    public boolean getCascadeWithDetach() {
        return _cascadeWithDetach;
    }


1. What does this new option mean?
2. What will a detached graph of x will look like when this option is set to 
true? Or false? What will be the difference?
3. How does this option differ from three existing option of 'loaded', 
'fetch-group' and 'all'?
4. Why is this option in Compatibility? What previous behavior that has now 
changed so that user can fall back upon to access old behavior?  

> 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: CompatibilityProblemPatch.txt, detachCodePatch.txt, 
> detachTestPatch.txt, 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.

Reply via email to