[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2606) CharArrayType allways leads to dirty objects

Mike Douglass (JIRA) noreply at atlassian.com
Mon Apr 20 13:56:17 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32934#action_32934 ] 

Mike Douglass commented on HHH-2606:
------------------------------------

This remains an issue in 3.3.1-GA

It's particulalrly troublesome as it's not obvious to developers that an entity containing a cha array is being constantly updated. It came to light as a result of unexpected state state exceptions when no update should have been occurring.

> CharArrayType allways leads to dirty objects
> --------------------------------------------
>
>                 Key: HHH-2606
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2606
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.4
>         Environment: Hibernate 3.2.4 Postgresql 8.2 or Hsqldb
>            Reporter: Aymeric Levaux
>         Attachments: org.hibernate.type.patch, typechararray.zip
>
>
> When you map a property of type char[], the owning object is always considered as dirty even if untouched.
> I attached a unit test that reproduce the problem.

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