public interface

UniqueKeyLoadable

implements Loadable
org.hibernate.persister.entity.UniqueKeyLoadable
Known Indirect Subclasses

Summary

[Expand]
Inherited Constants
From interface org.hibernate.persister.entity.EntityPersister
From interface org.hibernate.persister.entity.Loadable
Public Methods
abstract int getPropertyIndex(String propertyName)
Get the property number of the unique key property
abstract Object loadByUniqueKey(String propertyName, Object uniqueKey, SessionImplementor session)
Load an instance of the persistent class, by a unique key other than the primary key.
[Expand]
Inherited Methods
From interface org.hibernate.cache.OptimisticCacheSource
From interface org.hibernate.persister.entity.EntityPersister
From interface org.hibernate.persister.entity.Loadable

Public Methods

public abstract int getPropertyIndex (String propertyName)

Get the property number of the unique key property

public abstract Object loadByUniqueKey (String propertyName, Object uniqueKey, SessionImplementor session)

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