Top Description Fields Constructors Methods
org.hibernate.id.insert

public Class SybaseJConnGetGeneratedKeysDelegate

extends GetGeneratedKeysDelegate
Class Inheritance
Imports
java.sql.PreparedStatement, .ResultSet, .SQLException, org.hibernate.MappingException, org.hibernate.boot.model.relational.SqlStringGenerationContext, org.hibernate.dialect.Dialect, org.hibernate.engine.jdbc.mutation.JdbcValueBindings, org.hibernate.engine.jdbc.mutation.group.PreparedStatementDetails, org.hibernate.engine.jdbc.spi.JdbcCoordinator, .JdbcServices, .StatementPreparer, org.hibernate.engine.spi.SessionFactoryImplementor, .SharedSessionContractImplementor, org.hibernate.generator.OnExecutionGenerator, org.hibernate.id.PostInsertIdentityPersister, org.hibernate.internal.CoreLogging, org.hibernate.jdbc.Expectation, org.hibernate.metamodel.mapping.BasicEntityIdentifierMapping, org.hibernate.pretty.MessageHelper, org.hibernate.sql.model.ast.builder.TableInsertBuilder, .TableInsertBuilderStandard

Specialized IdentifierGeneratingInsert which appends the database specific clause which signifies to return generated IDENTITY values to the end of the insert statement.
Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final Dialect
private final PostInsertIdentityPersister

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
public String
prepareIdentifierGeneratingInsert(String insertSQL)

Overrides default org.hibernate.id.insert.InsertGeneratedIdentifierDelegate.prepareIdentifierGeneratingInsert.

Append SQL specific to this delegate's mode of handling generated primary key values to the given insert statement.
Inherited from org.hibernate.id.insert.GetGeneratedKeysDelegate:
createTableInsertBuilderperformInsertprepareIdentifierGeneratingInsertprepareStatement

Field Detail

dialectback to summary
private final Dialect dialect

Hides org.hibernate.id.insert.GetGeneratedKeysDelegate.dialect.

persisterback to summary
private final PostInsertIdentityPersister persister

Hides org.hibernate.id.insert.GetGeneratedKeysDelegate.persister.

Constructor Detail

SybaseJConnGetGeneratedKeysDelegateback to summary
public SybaseJConnGetGeneratedKeysDelegate(PostInsertIdentityPersister persister, Dialect dialect)

Method Detail

executeAndExtractback to summary
public Object executeAndExtract(String insertSql, PreparedStatement insertStatement, SharedSessionContractImplementor session)

Overrides org.hibernate.id.insert.GetGeneratedKeysDelegate.executeAndExtract.

Annotations
@Override
prepareIdentifierGeneratingInsertback to summary
public String prepareIdentifierGeneratingInsert(String insertSQL)

Overrides default org.hibernate.id.insert.InsertGeneratedIdentifierDelegate.prepareIdentifierGeneratingInsert.

Doc from org.hibernate.id.insert.InsertGeneratedIdentifierDelegate.prepareIdentifierGeneratingInsert.

Append SQL specific to this delegate's mode of handling generated primary key values to the given insert statement.

Returns:String

The processed insert statement string

Annotations
@Override