openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2313) Configure CheckDatabaseForCascadePersistToDetachedEntity per Entity
Date Wed, 02 Jan 2013 15:58:13 GMT

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

Rick Curtis commented on OPENJPA-2313:
--------------------------------------

> I would like to have ability to control this behavior not on entire configuration level,
but per-entity level.
Unfortunately with the way that the code exists today, that isn't an option. It is a possibility
that someone could add that sort of behavior, but it would only be added to trunk, and wouldn't
make it into the 2.2.x service branch.

Realistically you have two options :

1.] Feel the pain and change the behavior to conform with the 2.2.0 way of doing things.
2.] Set the compatibility property to the pre-2.2.0 value, and leave it set. 
                
> Configure CheckDatabaseForCascadePersistToDetachedEntity per Entity
> -------------------------------------------------------------------
>
>                 Key: OPENJPA-2313
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2313
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: kernel
>    Affects Versions: 2.2.0
>            Reporter: Rade Martinović
>
> My code relied on the following behavior http://openjpa.apache.org/builds/2.2.0/apache-openjpa/docs/jpa_2.2.html#jpa_2.2_cascadePersist
which has been changed in 2.2.0.
> I would like to have ability to control this behavior not on entire configuration level,
but per-entity level. This would make migration of my code to "2.2.0-pure" state less traumatic.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message