Package org.hibernate.persister.entity
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 byEntityMappingType
Basic implementation of thePropertyMapping
contract.
-
-
Constructor Summary
Constructors Constructor Description AbstractPropertyMapping()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.String[]
getColumnNames(String propertyName)
Deprecated, for removal: This API element is subject to removal in a future version.protected abstract String
getEntityName()
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getIdentifierColumnNames()
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getIdentifierColumnReaders()
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getIdentifierColumnReaderTemplates()
Deprecated, for removal: This API element is subject to removal in a future version.protected void
initComponentPropertyPaths(String path, CompositeType 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.protected void
initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Metadata factory)
Deprecated, for removal: This API element is subject to removal in a future version.protected void
initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, Metadata factory)
Deprecated, for removal: This API element is subject to removal in a future version.protected void
initPropertyPaths(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.protected QueryException
propertyException(String propertyName)
Deprecated, for removal: This API element is subject to removal in a future version.String[]
toColumns(String propertyName)
Deprecated, for removal: This API element is subject to removal in a future version.Given a property path, return the corresponding column name(s).Type
toType(String propertyName)
Deprecated, for removal: This API element is subject to removal in a future version.Given a component path expression, get the type of the property
-
-
-
Method Detail
-
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 interfacePropertyMapping
- 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 interfacePropertyMapping
- 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
-
-