Class AbstractPropertyMapping

java.lang.Object
org.hibernate.persister.entity.AbstractPropertyMapping
All Implemented Interfaces:
PropertyMapping
Direct Known Subclasses:
BasicEntityPropertyMapping, CompositeElementPropertyMapping

@Deprecated(since="6", forRemoval=true) @Remove public abstract class AbstractPropertyMapping extends Object implements PropertyMapping
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by EntityMappingType
Basic implementation of the PropertyMapping contract.
  • Constructor Details

    • AbstractPropertyMapping

      public AbstractPropertyMapping()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getIdentifierColumnNames

      public String[] getIdentifierColumnNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getIdentifierColumnReaderTemplates

      public String[] getIdentifierColumnReaderTemplates()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getIdentifierColumnReaders

      public String[] getIdentifierColumnReaders()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getEntityName

      protected abstract String getEntityName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toType

      public Type toType(String propertyName) throws QueryException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: PropertyMapping
      Given a component path expression, get the type of the property
      Specified by:
      toType in interface PropertyMapping
      Throws:
      QueryException
    • propertyException

      protected final QueryException propertyException(String propertyName) throws QueryException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      QueryException
    • getColumnNames

      public String[] getColumnNames(String propertyName)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toColumns

      public String[] toColumns(String propertyName) throws QueryException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: PropertyMapping
      Given a property path, return the corresponding column name(s).
      Specified by:
      toColumns in interface PropertyMapping
      Throws:
      QueryException
    • addPropertyPath

      protected void addPropertyPath(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Metadata factory)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • initPropertyPaths

      protected void initPropertyPaths(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Metadata factory) throws MappingException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      MappingException
    • initIdentifierPropertyPaths

      protected void initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, Metadata factory) throws MappingException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      MappingException
    • initIdentifierPropertyPaths

      protected void initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Metadata factory) throws MappingException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      MappingException
    • initComponentPropertyPaths

      protected void initComponentPropertyPaths(String path, CompositeType type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Metadata factory) throws MappingException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      MappingException