Interface NamedResultSetMappingDescriptor

All Known Implementing Classes:
HbmResultSetMappingDescriptor, SqlResultSetMappingDescriptor

public interface NamedResultSetMappingDescriptor
Models the "boot view" of a ResultSet mapping used in the mapping of native and procedure queries. Ultimately used to generate a NamedResultSetMappingMemento that is stored in the NamedObjectRepository for availability at runtime
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    The location at which the defining result set mapping annotation occurs, usually a class or package name.
    The name under which the result-set-mapping is to be registered
    resolve(org.hibernate.query.internal.ResultSetMappingResolutionContext resolutionContext)
    Create a representation of the described ResultSet mapping for the purpose of being stored in Hibernate's NamedObjectRepository
  • Method Details

    • getRegistrationName

      String getRegistrationName()
      The name under which the result-set-mapping is to be registered
    • getLocation

      @Nullable default String getLocation()
      The location at which the defining result set mapping annotation occurs, usually a class or package name. Null for result set mappings declared in XML or otherwise not associated with a static metamodel class.
    • resolve

      NamedResultSetMappingMemento resolve(org.hibernate.query.internal.ResultSetMappingResolutionContext resolutionContext)
      Create a representation of the described ResultSet mapping for the purpose of being stored in Hibernate's NamedObjectRepository
      See Also: