Interface ResultSetIdentifierConsumer


public interface ResultSetIdentifierConsumer
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
  • Method Summary

    Modifier and Type
    Method
    Description
    Given a result set, consume/extract the necessary values and construct an appropriate identifier value.
  • Method Details

    • consumeIdentifier

      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.