[hibernate-commits] Hibernate SVN: r11534 - branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Fri May 18 08:32:21 EDT 2007
Author: steve.ebersole at jboss.com
Date: 2007-05-18 08:32:21 -0400 (Fri, 18 May 2007)
New Revision: 11534
Modified:
branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java
Log:
HHH-2605 : bug in identity insert statement building
Modified: branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java
===================================================================
--- branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java 2007-05-17 19:19:25 UTC (rev 11533)
+++ branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java 2007-05-18 12:32:21 UTC (rev 11534)
@@ -2960,9 +2960,9 @@
if ( isIdentifierAssignedByInsert() ) {
identityDelegate = ( ( PostInsertIdentifierGenerator ) getIdentifierGenerator() )
.getInsertGeneratedIdentifierDelegate( this, getFactory().getDialect(), useGetGeneratedKeys() );
- sqlIdentityInsertString = sqlInsertStrings[0] == null
+ sqlIdentityInsertString = customSQLInsert[0] == null
? generateIdentityInsertString( getPropertyInsertability() )
- : sqlInsertStrings[0];
+ : customSQLInsert[0];
}
else {
sqlIdentityInsertString = null;
More information about the hibernate-commits
mailing list