Interface LegacyFetchBuilder

All Superinterfaces:
FetchBuilder, GraphNodeBuilder

@SPI({USE,IMPLEMENT,SUPPLY}) public interface LegacyFetchBuilder extends FetchBuilder

Builds a fetch defined by legacy hbm.xml mappings or by calls to NativeQuery.addFetch(String, String, String) and related methods.

Supply an implementation through ResultSetMapping.addLegacyFetchBuilder(LegacyFetchBuilder).

See Also:
  • Method Details

    • getTableAlias

      String getTableAlias()
      The table-alias associated with the fetch modeled by this builder.
    • getOwnerAlias

      String getOwnerAlias()
      The alias for the node (result or fetch) which owns the fetch modeled by this builder.
    • getFetchableName

      String getFetchableName()
      The name of the model-part being fetched.
    • cacheKeyInstance

      LegacyFetchBuilder cacheKeyInstance()
      Specified by:
      cacheKeyInstance in interface FetchBuilder
    • getFetchable

      Fetchable getFetchable()