openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-680) Flush followed by refresh on a new instance returns an instance with all fields but id cleared
Date Wed, 03 Mar 2010 18:32:27 GMT

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

Kevin Sutter commented on OPENJPA-680:
--------------------------------------

Jerry,
In your example, SimpleEntity e is no longer "new" once you called persist(e).  At that point,
e is now a managed instance and is a member of the persistence context.  So, the IllegalArgumentException
would not be expected in this case.

Kevin

> Flush followed by refresh on a new instance returns an instance with all fields but id
cleared
> ----------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-680
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-680
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2.0, 1.2.1, 1.3.0
>            Reporter: Srinivasa
>            Priority: Minor
>         Attachments: OPENJPA-680.patch, testcase.zip
>
>


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