Top Description Methods
org.hibernate.id

public Interface ResultSetIdentifierConsumer

Imports
java.io.Serializable, java.sql.ResultSet

An optional contract for org.hibernate.type.Type or org.hibernate.usertype.UserType implementations to handle generated id values any way they see fit as opposed to being limited to the discrete set of numeric types handled by IdentifierGeneratorHelper
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Serializable

Returns:

The identifier value.
consumeIdentifier
(ResultSet
The result set containing the value(s) to be used in building the identifier value.
resultSet
)

Given a result set, consume/extract the necessary values and construct an appropriate identifier value.

Method Detail

consumeIdentifierback to summary
public Serializable consumeIdentifier(ResultSet resultSet)

Given a result set, consume/extract the necessary values and construct an appropriate identifier value.

Parameters
resultSet:ResultSet

The result set containing the value(s) to be used in building the identifier value.

Returns:Serializable

The identifier value.