Top Description Fields Methods
org.hibernate.persister.entity

public Interface UniqueKeyLoadable

extends Loadable
Known Direct Subinterfaces
org.hibernate.persister.entity.DeprecatedEntityStuff
Annotations
@Deprecated
Imports
org.hibernate.engine.spi.SharedSessionContractImplementor

Deprecated

Use org.hibernate.metamodel.mapping.EntityMappingType#loadByUniqueKey instead

An EntityPersister that can be loaded by a non-primary unique key.
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)

Redeclares as abstract: org.hibernate.persister.walking.spi.AttributeSource.getPropertyIndex.

Get the property number of the unique key property
public Object
loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)

Redeclares as abstract: org.hibernate.persister.entity.EntityPersister.loadByUniqueKey.

Load an instance of the persistent class, by a unique key other than the primary key.
Inherited from org.hibernate.persister.entity.Loadable:
getDiscriminatorAliasgetDiscriminatorColumnNamegetDiscriminatorTypegetDiscriminatorValuegetIdentifierAliasesgetIdentifierColumnNamesgetPropertyAliasesgetPropertyColumnNamesgetSubclassForDiscriminatorValuegetTableAliasForColumnhasRowIdhasSubclassesisAbstractregisterAffectingFetchProfile

Method Detail

getPropertyIndexback to summary
public int getPropertyIndex(String propertyName)

Redeclares as abstract: org.hibernate.persister.walking.spi.AttributeSource.getPropertyIndex.

Get the property number of the unique key property

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

Redeclares as abstract: org.hibernate.persister.entity.EntityPersister.loadByUniqueKey.

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