Top Fields Constructors Methods
org.hibernate.persister.collection

public Class ElementPropertyMapping

extends Object
implements PropertyMapping
Class Inheritance
All Implemented Interfaces
org.hibernate.persister.entity.PropertyMapping
Annotations
@Deprecated
since:6
forRemoval:true
@Remove
Imports
org.hibernate.QueryException, .Remove, org.hibernate.persister.entity.PropertyMapping, org.hibernate.type.Type

Deprecated

for removal since 6.

Replaced by org.hibernate.metamodel.mapping.CollectionPart

Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final String[]
private final Type

Constructor Summary

AccessConstructor and Description
public
ElementPropertyMapping(String[] elementColumns, Type type)

Method Summary

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

Implements org.hibernate.persister.entity.PropertyMapping.toColumns.

Given a property path, return the corresponding column name(s).
public Type
toType(String propertyName)

Implements org.hibernate.persister.entity.PropertyMapping.toType.

Given a component path expression, get the type of the property
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

elementColumnsback to summary
private final String[] elementColumns
typeback to summary
private final Type type

Constructor Detail

ElementPropertyMappingback to summary
public ElementPropertyMapping(String[] elementColumns, Type type)

Method Detail

getTypeback to summary
public Type getType()
toColumnsback to summary
public String[] toColumns(String propertyName)

Implements org.hibernate.persister.entity.PropertyMapping.toColumns.

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

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

Implements org.hibernate.persister.entity.PropertyMapping.toType.

Doc from org.hibernate.persister.entity.PropertyMapping.toType.

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