Top Fields Methods
org.hibernate.persister.entity

public Interface UniqueKeyLoadable

extends Loadable
Known Direct Implementers
org.hibernate.persister.entity.AbstractEntityPersister
Imports
org.hibernate.LockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor

Author
Gavin King

Field Summary

Inherited from org.hibernate.persister.entity.Loadable:
ROWID_ALIAS

Method Summary

Modifier and TypeMethod and Description
public int
getPropertyIndex(String propertyName)

Get the property number of the unique key property

public Object
loadByNaturalId(Object[] naturalIds, LockOptions lockOptions, SharedSessionContractImplementor session)

Load an instance of the persistent class, by a natural id.

public Object
loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)

Load an instance of the persistent class, by a unique key other than the primary key.

Inherited from org.hibernate.persister.entity.Loadable:
getDiscriminatorAliasgetDiscriminatorColumnNamegetDiscriminatorTypegetDiscriminatorValuegetIdentifierAliasesgetIdentifierColumnNamesgetPropertyAliasesgetPropertyColumnNamesgetSubclassForDiscriminatorValuegetTableAliasForColumnhasRowIdhasSubclasseshydratehydrateisAbstractregisterAffectingFetchProfile

Method Detail

getPropertyIndexback to summary
public int getPropertyIndex(String propertyName)

Get the property number of the unique key property

loadByNaturalIdback to summary
public Object loadByNaturalId(Object[] naturalIds, LockOptions lockOptions, SharedSessionContractImplementor session)

Load an instance of the persistent class, by a natural id.

loadByUniqueKeyback to summary
public Object loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)

Load an instance of the persistent class, by a unique key other than the primary key.