Top Description Interfaces Classes
[default module]

Package org.hibernate.id.insert


Contains a framework of strategies for retrieving database-generated ids.
See Also
org.hibernate.id.insert.InsertGeneratedIdentifierDelegate

Interface Summary

Modifier and TypeInterface and Description
public interface
public interface
InsertGeneratedIdentifierDelegate

Each implementation defines a strategy for retrieving a primary key generated by the database from the database after execution of an insert statement.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractReturningDelegate

Abstract InsertGeneratedIdentifierDelegate implementation where the underlying strategy causes the generated identifier to be returned as an effect of performing the insert statement.

public abstract class
AbstractSelectingDelegate

Abstract InsertGeneratedIdentifierDelegate implementation where the underlying strategy requires a subsequent select after the insert to determine the generated identifier.

public class
BasicSelectingDelegate

Delegate for dealing with IDENTITY columns where the dialect requires an additional command execution to retrieve the generated IDENTITY value

public class
GetGeneratedKeysDelegate

Delegate for dealing with IDENTITY columns using the JDBC3 method PreparedStatement#getGeneratedKeys().

public class
IdentifierGeneratingInsert

Nothing more than a distinguishing subclass of Insert used to indicate intent.

public class
InsertReturningDelegate

Delegate for dealing with IDENTITY columns where the dialect supports returning the generated IDENTITY value directly from the insert statement.

public class
InsertSelectIdentityInsert

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

public class
SybaseJConnGetGeneratedKeysDelegate

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

public class
public class
UniqueKeySelectingDelegate

Uses a unique key of the inserted entity to locate the newly inserted row.