Package org.hibernate.id
Interface ResultSetIdentifierConsumer
-
public interface ResultSetIdentifierConsumer
An optional contract forType
orUserType
implementations to handle generated id values any way they see fit as opposed to being limited to the discrete set of numeric types handled byIdentifierGeneratorHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.Serializable
consumeIdentifier(java.sql.ResultSet resultSet)
Given a result set, consume/extract the necessary values and construct an appropriate identifier value.
-
-
-
Method Detail
-
consumeIdentifier
java.io.Serializable consumeIdentifier(java.sql.ResultSet resultSet)
Given a result set, consume/extract the necessary values and construct an appropriate identifier value.- Parameters:
resultSet
- The result set containing the value(s) to be used in building the identifier value.- Returns:
- The identifier value.
-
-