Top Description Methods
org.hibernate.id.insert

public Interface InsertGeneratedIdentifierDelegate

Known Direct Implementers
org.hibernate.id.IdentityGenerator.GetGeneratedKeysDelegate, org.hibernate.id.IdentityGenerator.InsertSelectDelegate, org.hibernate.id.IdentityGenerator.BasicDelegate, org.hibernate.id.SelectGenerator.SelectGeneratorDelegate, org.hibernate.id.insert.AbstractReturningDelegate, org.hibernate.id.insert.AbstractSelectingDelegate
Imports
org.hibernate.engine.SessionImplementor, java.io.Serializable

Responsible for handling delegation relating to variants in how insert-generated-identifier generator strategies dictate processing:
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Serializable

Returns:

The generated identifier value.
performInsert
(String
The INSERT statement string
insertSQL
,
SessionImplementor
The session in which we are operating
session
,
Binder
The param binder
binder
)

Perform the indicated insert SQL statement and determine the identifier value generated.

public IdentifierGeneratingInsert

Returns:

The insert object.
prepareIdentifierGeneratingInsert
()

Build a org.hibernate.sql.Insert specific to the delegate's mode of handling generated key values.

Method Detail

performInsertback to summary
public Serializable performInsert(String insertSQL, SessionImplementor session, Binder binder)

Perform the indicated insert SQL statement and determine the identifier value generated.

Parameters
insertSQL:String

The INSERT statement string

session:SessionImplementor

The session in which we are operating

binder:Binder

The param binder

Returns:Serializable

The generated identifier value.

prepareIdentifierGeneratingInsertback to summary
public IdentifierGeneratingInsert prepareIdentifierGeneratingInsert()

Build a org.hibernate.sql.Insert specific to the delegate's mode of handling generated key values.

Returns:IdentifierGeneratingInsert

The insert object.