[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2301) Identity generator with custom insert SQL broken in 3.2

Scott Rankin (JIRA) noreply at atlassian.com
Mon Dec 11 17:31:04 EST 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2301?page=all ]

Scott Rankin updated HHH-2301:
------------------------------

    Attachment: AbstractEntityPersister.patch

This patch restores the behavior of 3.1.3 by checking to see if custom insert SQL has been defined and if so, using it instead of the generated SQL. 

> Identity generator with custom insert SQL broken in 3.2
> -------------------------------------------------------
>
>          Key: HHH-2301
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2301
>      Project: Hibernate3
>         Type: Bug

>   Components: core
>     Versions: 3.2.1
>  Environment: JDK 1.5.0_08, Windows XP
>     Reporter: Scott Rankin
>     Priority: Critical
>  Attachments: AbstractEntityPersister.patch
>
>
> When an entity is defined as having custom insert sql and has a ID generator strategy of "identity", the custom insert SQL is ignored in 3.2.  This previously worked in 3.1.3. 
> More details on the forum here: http://forum.hibernate.org/viewtopic.php?t=966317

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