[hibernate-commits] Hibernate SVN: r11509 - branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Wed May 9 15:04:27 EDT 2007
Author: steve.ebersole at jboss.com
Date: 2007-05-09 15:04:27 -0400 (Wed, 09 May 2007)
New Revision: 11509
Modified:
branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java
Log:
grr, missed a commit
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-09 17:52:45 UTC (rev 11508)
+++ branches/Branch_3_2/Hibernate3/src/org/hibernate/persister/entity/AbstractEntityPersister.java 2007-05-09 19:04:27 UTC (rev 11509)
@@ -2960,7 +2960,9 @@
if ( isIdentifierAssignedByInsert() ) {
identityDelegate = ( ( PostInsertIdentifierGenerator ) getIdentifierGenerator() )
.getInsertGeneratedIdentifierDelegate( this, getFactory().getDialect(), useGetGeneratedKeys() );
- sqlIdentityInsertString = generateIdentityInsertString( getPropertyInsertability() );
+ sqlIdentityInsertString = sqlInsertStrings[0] == null
+ ? generateIdentityInsertString( getPropertyInsertability() )
+ : sqlInsertStrings[0];
}
else {
sqlIdentityInsertString = null;
More information about the hibernate-commits
mailing list