openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Carter (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1562) EntityManager:Refresh on Removed entity does not trigger IllegalArgumentException
Date Wed, 24 Mar 2010 17:29:27 GMT

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

Jerry Carter commented on OPENJPA-1562:
---------------------------------------

The patch works for me.  I tested with beta3 build from the staging area.

> EntityManager:Refresh on Removed entity does not trigger IllegalArgumentException
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1562
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1562
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta2
>         Environment: Mac OS X, OpenJPA 2.0.0-beta2, Spring 3.0
>            Reporter: Jerry Carter
>            Assignee: Dianne Richards
>            Priority: Minor
>         Attachments: openjpa1562.tar.zip, patch.txt, simple_entity_tests.txt
>
>
> My application unit tests turned up some unexpected behavior from basic OpenJPA entity
manager functions.  It appears, for instance, that a detached entity can still be refreshed.
 I decided to write a few basic tests (attached) which report five potential errors.  This
does not go into the testing of cascading behavior which would require additional work.

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