public interface

ResultSetIdentifierConsumer

org.hibernate.id.ResultSetIdentifierConsumer

Class Overview

An optional contract for Type or 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

Summary

Public Methods
abstract Serializable consumeIdentifier(ResultSet resultSet)
Given a result set, consume/extract the necessary values and construct an appropriate identifier value.

Public Methods

public abstract Serializable consumeIdentifier (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.