Package org.hibernate.id.insert
Class SybaseJConnGetGeneratedKeysDelegate
java.lang.Object
org.hibernate.generator.values.AbstractGeneratedValuesMutationDelegate
org.hibernate.id.insert.AbstractReturningDelegate
org.hibernate.id.insert.GetGeneratedKeysDelegate
org.hibernate.id.insert.SybaseJConnGetGeneratedKeysDelegate
- All Implemented Interfaces:
GeneratedValuesMutationDelegate,InsertGeneratedIdentifierDelegate
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
Fields inherited from class org.hibernate.generator.values.AbstractGeneratedValuesMutationDelegate
jdbcValuesMappingProducer, persister -
Constructor Summary
ConstructorsConstructorDescriptionSybaseJConnGetGeneratedKeysDelegate(PostInsertIdentityPersister persister, Dialect dialect) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionexecuteAndExtractReturning(String sql, PreparedStatement preparedStatement, SharedSessionContractImplementor session) prepareIdentifierGeneratingInsert(String insertSQL) Append SQL specific to this delegate's mode of handling generated primary key values to the giveninsertstatement.Methods inherited from class org.hibernate.id.insert.GetGeneratedKeysDelegate
createTableMutationBuilder, performMutation, prepareStatementMethods inherited from class org.hibernate.id.insert.AbstractReturningDelegate
executeAndExtract, performInsertReturning, releaseStatementMethods inherited from class org.hibernate.generator.values.AbstractGeneratedValuesMutationDelegate
dialect, getGeneratedValuesMappingProducer, getTiming, supportsArbitraryValues, supportsRowIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.generator.values.GeneratedValuesMutationDelegate
getGeneratedValuesMappingProducer, getTiming, supportsArbitraryValues, supportsRowIdMethods inherited from interface org.hibernate.id.insert.InsertGeneratedIdentifierDelegate
createTableInsertBuilder, performInsert, performInsert
-
Constructor Details
-
SybaseJConnGetGeneratedKeysDelegate
@Deprecated(forRemoval=true, since="6.5") public SybaseJConnGetGeneratedKeysDelegate(PostInsertIdentityPersister persister, Dialect dialect) Deprecated, for removal: This API element is subject to removal in a future version.UseSybaseJConnGetGeneratedKeysDelegate(EntityPersister)instead. -
SybaseJConnGetGeneratedKeysDelegate
-
-
Method Details
-
prepareIdentifierGeneratingInsert
Description copied from interface:InsertGeneratedIdentifierDelegateAppend SQL specific to this delegate's mode of handling generated primary key values to the giveninsertstatement.- Returns:
- The processed
insertstatement string
-
SybaseJConnGetGeneratedKeysDelegate(EntityPersister)instead.