Package org.hibernate.persister.entity
Interface PropertyMapping
-
- All Known Subinterfaces:
DeprecatedCollectionStuff
,DeprecatedEntityStuff
,Queryable
,QueryableCollection
,SQLLoadableCollection
- All Known Implementing Classes:
AbstractCollectionPersister
,AbstractEntityPersister
,AbstractPropertyMapping
,BasicCollectionPersister
,BasicEntityPropertyMapping
,CompositeElementPropertyMapping
,ElementPropertyMapping
,JoinedSubclassEntityPersister
,OneToManyPersister
,SingleTableEntityPersister
,UnionSubclassEntityPersister
@Deprecated(since="6", forRemoval=true) @Remove public interface PropertyMapping
Deprecated, for removal: This API element is subject to removal in a future version.This interface is obsoleteContract for all things that know how to map a property to the needed bits of SQL.The column/formula fragments that represent a property in the table defining the property be obtained by calling
toColumns(String)
.Note, the methods here are generally ascribed to accept "property paths". That is a historical necessity because of how Hibernate originally understood composites (embeddables) internally. That is in the process of changing as Hibernate has added
CompositeElementPropertyMapping
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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
-
toType
Type toType(String propertyName) throws QueryException
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- Throws:
QueryException
-
toColumns
String[] toColumns(String propertyName) throws QueryException, UnsupportedOperationException
Deprecated, for removal: This API element is subject to removal in a future version.Given a property path, return the corresponding column name(s).
-
-