Interface Loadable

All Superinterfaces:
AttributeSource, Bindable, Discriminable, EntityMappingType, EntityMutationTarget, EntityPersister, EntityValuedModelPart, FetchableContainer, FilterRestrictable, JdbcMappingContainer, Loadable, ManagedMappingType, MappingModelExpressible, MappingType, ModelPart, ModelPartContainer, MutationTarget<EntityTableMapping>, Restrictable, RootTableGroupProducer, SoftDeletableModelPart, TableGroupProducer, WhereRestrictable
All Known Subinterfaces:
DeprecatedEntityStuff, OuterJoinLoadable, Queryable, SQLLoadable, UniqueKeyLoadable
All Known Implementing Classes:
AbstractEntityPersister, JoinedSubclassEntityPersister, SingleTableEntityPersister, UnionSubclassEntityPersister

@Deprecated(since="6", forRemoval=true) public interface Loadable extends EntityPersister
Deprecated, for removal: This API element is subject to removal in a future version.
Implemented by any EntityPersister that may be loaded using a Loader.
Author:
Gavin King
  • Field Details

    • ROWID_ALIAS

      static final String ROWID_ALIAS
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Method Details

    • hasSubclasses

      @Deprecated boolean hasSubclasses()
      Does this persistent class have subclasses?
      Specified by:
      hasSubclasses in interface EntityMappingType
    • getDiscriminatorType

      Type getDiscriminatorType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the discriminator type
    • getDiscriminatorValue

      @Deprecated Object getDiscriminatorValue()
      Get the discriminator value
      Specified by:
      getDiscriminatorValue in interface EntityMappingType
    • getSubclassForDiscriminatorValue

      @Deprecated String getSubclassForDiscriminatorValue(Object value)
      Get the concrete subclass corresponding to the given discriminator value
    • getIdentifierColumnNames

      String[] getIdentifierColumnNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the names of columns used to persist the identifier
      Specified by:
      getIdentifierColumnNames in interface EntityPersister
    • getIdentifierAliases

      String[] getIdentifierAliases(String suffix)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the result set aliases used for the identifier columns, given a suffix
    • getPropertyAliases

      String[] getPropertyAliases(String suffix, int i)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the result set aliases used for the property columns, given a suffix (properties of this class, only).
    • getPropertyColumnNames

      String[] getPropertyColumnNames(int i)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the result set column names mapped for this property (properties of this class, only).
    • getDiscriminatorAlias

      String getDiscriminatorAlias(String suffix)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the result set aliases used for the identifier columns, given a suffix
    • getDiscriminatorColumnName

      @Deprecated String getDiscriminatorColumnName()
      Returns:
      the column name for the discriminator as specified in the mapping.
    • hasRowId

      boolean hasRowId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Does the result set contain rowids?
    • isAbstract

      boolean isAbstract()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: EntityMappingType
      Whether this entity is defined as abstract using the Java abstract keyword
      Specified by:
      isAbstract in interface EntityMappingType
    • registerAffectingFetchProfile

      void registerAffectingFetchProfile(String fetchProfileName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Register the name of a fetch profile determined to have an affect on the underlying loadable in regards to the fact that the underlying load SQL needs to be adjust when the given fetch profile is enabled.
      Parameters:
      fetchProfileName - The name of the profile affecting this.
    • getTableAliasForColumn

      String getTableAliasForColumn(String columnName, String rootAlias)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Given a column name and the root table alias in use for the entity hierarchy, determine the proper table alias for the table in that hierarchy that contains said column.
      Parameters:
      columnName - The column name
      rootAlias - The hierarchy root alias
      Returns:
      The proper table alias for qualifying the given column.