You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/11/03 17:43:34 UTC
[jira] [Commented] (OPENJPA-1988) openjpa does not process
persistence unit default
[ https://issues.apache.org/jira/browse/OPENJPA-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14194709#comment-14194709 ]
ASF subversion and git services commented on OPENJPA-1988:
----------------------------------------------------------
Commit 1636387 from [~fyrewyld] in branch 'openjpa/branches/2.2.x'
[ https://svn.apache.org/r1636387 ]
OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>
> 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
> Assignee: Jody Grassel
> Priority: Minor
> Fix For: 2.4.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 was sent by Atlassian JIRA
(v6.3.4#6332)