Top Description Methods
org.hibernate.persister.entity

public Interface PropertyMapping

Known Direct Subinterfaces
org.hibernate.persister.entity.Queryable, org.hibernate.persister.collection.QueryableCollection
Known Direct Implementers
org.hibernate.persister.collection.ElementPropertyMapping, org.hibernate.persister.entity.AbstractPropertyMapping
Annotations
@Deprecated
since:6
forRemoval:true
@Remove
Imports
org.hibernate.QueryException, .Remove, org.hibernate.persister.collection.CompositeElementPropertyMapping, org.hibernate.type.Type

Deprecated

for removal since 6.

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

Authors
Gavin King, Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String[]
toColumns(String propertyName)

Given a property path, return the corresponding column name(s).

public Type
toType(String propertyName)

Given a component path expression, get the type of the property

Method Detail

toColumnsback to summary
public String[] toColumns(String propertyName) throws QueryException, UnsupportedOperationException

Given a property path, return the corresponding column name(s).

toTypeback to summary
public Type toType(String propertyName) throws QueryException

Given a component path expression, get the type of the property