HHH-9044 - Create Oracle12cDialect

This commit is contained in:
Brett Meyer 2014-03-13 14:41:28 -04:00 committed by Steve Ebersole
parent 11095e709d
commit e70832d9dd
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class StatementPreparerImpl implements StatementPreparer {
jdbcCoordinator.executeBatch(); jdbcCoordinator.executeBatch();
return new StatementPreparationTemplate( sql ) { return new StatementPreparationTemplate( sql ) {
public PreparedStatement doPrepare() throws SQLException { public PreparedStatement doPrepare() throws SQLException {
return connection().prepareStatement( sql, new int[]{ 1 } ); return connection().prepareStatement( sql, autoGeneratedKeys );
} }
}.prepareStatement(); }.prepareStatement();
} }