openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1562) Basic negative tests of the EntityManager fail
Date Thu, 11 Mar 2010 19:48:27 GMT

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

Donald Woods commented on OPENJPA-1562:
---------------------------------------

Which Spec level did you specify in your persistence.xml and what properties did you set?
A JPA 1.0 level persistence.xml will automatically use compatibility settings to behave like
OpenJPA 1.x -
http://openjpa.apache.org/builds/latest/docs/manual/ref_guide_remote.html#ref_guide_detach

> Basic negative tests of the EntityManager fail
> ----------------------------------------------
>
>                 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
>         Attachments: openjpa1562.tar.zip, 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