[hibernate-issues] [Hibernate-JIRA] Closed: (EJB-289) Version number not updated on entity instance during merge

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Fri May 18 02:03:04 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen closed EJB-289.
-----------------------------------

    Resolution: Rejected

ent = s.merge(ent);



> Version number not updated on entity instance during merge
> ----------------------------------------------------------
>
>                 Key: EJB-289
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-289
>             Project: Hibernate Entity Manager
>          Issue Type: Bug
>          Components: EntityManager
>    Affects Versions: 3.3.1.GA
>            Reporter: Frank Daspro
>
> When performing an entityManager.merge() operation the version number is being correctly updated in the database, but is not being updated in the entity instance. This causes them to become out of sync.
> Current workaround is to bypass the Entity manager and use session.update() instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list