接口 InsertGeneratedIdentifierDelegate
-
- 所有已知实现类:
AbstractReturningDelegate,AbstractSelectingDelegate,GetGeneratedKeysDelegate,IdentityGenerator.BasicDelegate,IdentityGenerator.InsertSelectDelegate,Oracle12cGetGeneratedKeysDelegate,SelectGenerator.SelectGeneratorDelegate,SequenceIdentityGenerator.Delegate
public interface InsertGeneratedIdentifierDelegateResponsible for handling delegation relating to variants in how insert-generated-identifier generator strategies dictate processing:- building the sql insert statement
- determination of the generated identifier value
- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 SerializableperformInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)Perform the indicated insert SQL statement and determine the identifier value generated.IdentifierGeneratingInsertprepareIdentifierGeneratingInsert()Build aInsertspecific to the delegate's mode of handling generated key values.
-
-
-
方法详细资料
-
prepareIdentifierGeneratingInsert
IdentifierGeneratingInsert prepareIdentifierGeneratingInsert()
Build aInsertspecific to the delegate's mode of handling generated key values.- 返回:
- The insert object.
-
performInsert
Serializable performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)
Perform the indicated insert SQL statement and determine the identifier value generated.- 参数:
insertSQL- The INSERT statement stringsession- The session in which we are operatingbinder- The param binder- 返回:
- The generated identifier value.
-
-