openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-1988) openjpa does not process persistence unit default <cascade-persist>
Date Thu, 02 Feb 2012 17:28:53 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Albert Lee updated OPENJPA-1988:
--------------------------------

    Affects Version/s: 2.3.0
        Fix Version/s:     (was: 2.2.0)
                       2.3.0

Change fix version in preparation of 2.2.0 release.
                
> openjpa does not process persistence unit default <cascade-persist>
> -------------------------------------------------------------------
>
>                 Key: OPENJPA-1988
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1988
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.2.0, 2.3.0
>            Reporter: Dianne Richards
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> For a ManyToMany relationship, I attempted to use the following in the orm to persist
the related entities:
>     <persistence-unit-metadata>
>         <persistence-unit-defaults>
>             <delimited-identifiers/>
>         </persistence-unit-defaults>
>     </persistence-unit-metadata>
> Although openjpa appears to find this, it doesn't use it in an em.persist(). It does
work, however, if I put cascade=CascadeType.persist on the @ManyToMany annotation of the entity
that is specifically persisted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message