Top Description Methods
org.hibernate.id

public Interface ResultSetIdentifierConsumer

Annotations
@Deprecated
since:6.2
forRemoval:true
Imports
java.sql.ResultSet

Deprecated

for removal since 6.2.

this interface is unnecessary and no longer used

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 Object

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 Object 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:Object

The identifier value.