[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2433) Use of an id together with a natural-id results in an ArraIndexOutOfBoundsException

Gail Badner (JIRA) noreply at atlassian.com
Wed Oct 3 20:07:25 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28346 ] 

Gail Badner commented on HHH-2433:
----------------------------------

Please attach a runnable test case (Java + mapping).

> Use of  an id together with a natural-id results in an ArraIndexOutOfBoundsException
> ------------------------------------------------------------------------------------
>
>                 Key: HHH-2433
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2433
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.1
>         Environment: MySql, Cocoon, WindowsXp
>            Reporter: Danny Bols
>         Attachments: hb-issue.txt
>
>
> Use of a natural-id in combination with a generated id results in an ArrayOutOfBoundsException.
> The table in the database has 2 unique keys, a natural-id and an internal id (UUID).  A record is loaded in a separate transaction and send to a user form. When the user hits the save button the changes are committed in a new transaction. If this transaction doesn't contain a new load of the record the commit will result in an ArrayIndexOutOfBoundsException. If we leave out the natural-id definition in the config file we don't get an exception.
> See attachement for details.
> --
> Danny

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