public static class PortofinoIdentityGenerator.PortofinoGetGeneratedKeysDelegate extends IdentityGenerator.GetGeneratedKeysDelegate implements InsertGeneratedIdentifierDelegate
Constructor and Description |
---|
PortofinoIdentityGenerator.PortofinoGetGeneratedKeysDelegate(PostInsertIdentityPersister persister,
Dialect dialect) |
Modifier and Type | Method and Description |
---|---|
Serializable |
executeAndExtract(PreparedStatement insert,
SessionImplementor session)
Override in order to unquote the primary key column name, else it breaks (at least on Postgres)
|
protected String |
unquotedIdentifier(String identifier) |
prepare, prepareIdentifierGeneratingInsert
getPersister, performInsert, releaseStatement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
performInsert, prepareIdentifierGeneratingInsert
public PortofinoIdentityGenerator.PortofinoGetGeneratedKeysDelegate(PostInsertIdentityPersister persister, Dialect dialect)
public Serializable executeAndExtract(PreparedStatement insert, SessionImplementor session) throws SQLException
executeAndExtract
in class IdentityGenerator.GetGeneratedKeysDelegate
SQLException