Interface PropertyMapping

All Known Subinterfaces:
DeprecatedCollectionStuff, DeprecatedEntityStuff, Queryable, QueryableCollection, SQLLoadableCollection
All Known Implementing Classes:
AbstractCollectionPersister, AbstractEntityPersister, AbstractPropertyMapping, BasicCollectionPersister, BasicEntityPropertyMapping, CompositeElementPropertyMapping, ElementPropertyMapping, JoinedSubclassEntityPersister, MockCollectionPersister, MockEntityPersister, OneToManyPersister, ProcessorSessionFactory.ElementCollectionPersister, ProcessorSessionFactory.EntityPersister, ProcessorSessionFactory.ToManyAssociationPersister, 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 obsolete
Contract 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

    Modifier and Type
    Method
    Description
    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).
    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