[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-7246) Envers creates revision for changing from empty string to null and from null to string

Lukasz Antoniak (JIRA) noreply at atlassian.com
Tue Apr 24 16:48:48 EDT 2012


     [ https://hibernate.onjira.com/browse/HHH-7246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Antoniak resolved HHH-7246.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 4.1.3
         Assignee: Lukasz Antoniak

Thank you for suggested solution. Note that this behavior is characteristic to Oracle.

> Envers creates revision for changing from empty string to null and from null to string
> --------------------------------------------------------------------------------------
>
>                 Key: HHH-7246
>                 URL: https://hibernate.onjira.com/browse/HHH-7246
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: envers
>    Affects Versions: 3.6.8
>            Reporter: Vyacheslav
>            Assignee: Lukasz Antoniak
>             Fix For: 4.1.3
>
>         Attachments: SinglePropertyMapper.java
>
>
> https://community.jboss.org/message/729699#729699
> Envers creates revision for changing from empty string to null and from null to string.
> So after load of that revisions they contain exactly same data, so it is the same revision data for two subsequent revisions. So revision are changed but data isn't.
> Suggested solution attached.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list