当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
UniqueKeyLoadable (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.persister.entity
Interface UniqueKeyLoadable
- All Superinterfaces:
- EntityPersister, Loadable, OptimisticCacheSource
- All Known Implementing Classes:
- AbstractEntityPersister
- public interface UniqueKeyLoadable
- extends Loadable
- Author:
- Gavin King
Methods inherited from interface org.hibernate.persister.entity.Loadable |
getDiscriminatorAlias, getDiscriminatorColumnName, getDiscriminatorType, getIdentifierAliases, getIdentifierColumnNames, getPropertyAliases, getPropertyColumnNames, getSubclassForDiscriminatorValue, hasRowId, hasSubclasses, hydrate, isAbstract |
Methods inherited from interface org.hibernate.persister.entity.EntityPersister |
afterInitialize, afterReassociate, canExtractIdOutOfEntity, createProxy, delete, findDirty, findModified, forceVersionIncrement, getCache, getCacheEntryStructure, getClassMetadata, getConcreteProxyClass, getCurrentVersion, getDatabaseSnapshot, getEntityMetamodel, getEntityName, getFactory, getIdentifier, getIdentifierGenerator, getIdentifierPropertyName, getIdentifierType, getMappedClass, getNaturalIdentifierProperties, getNaturalIdentifierSnapshot, getPropertyCascadeStyles, getPropertyCheckability, getPropertyInsertability, getPropertyInsertGenerationInclusions, getPropertyLaziness, getPropertyNames, getPropertyNullability, getPropertySpaces, getPropertyType, getPropertyTypes, getPropertyUpdateability, getPropertyUpdateGenerationInclusions, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesToInsert, getPropertyVersionability, getQuerySpaces, getRootEntityName, getSubclassEntityPersister, getVersion, getVersionProperty, getVersionType, guessEntityMode, hasCache, hasCascades, hasCollections, hasIdentifierProperty, hasInsertGeneratedProperties, hasLazyProperties, hasMutableProperties, hasNaturalIdentifier, hasProxy, hasSubselectLoadableCollections, hasUninitializedLazyProperties, hasUpdateGeneratedProperties, implementsLifecycle, implementsValidatable, insert, insert, instantiate, isBatchLoadable, isCacheInvalidationRequired, isIdentifierAssignedByInsert, isInherited, isInstance, isInstrumented, isLazyPropertiesCacheable, isMutable, isSelectBeforeUpdateRequired, isSubclassEntityName, isTransient, isVersioned, isVersionPropertyGenerated, load, lock, postInstantiate, processInsertGeneratedProperties, processUpdateGeneratedProperties, resetIdentifier, setIdentifier, setPropertyValue, setPropertyValues, update |
loadByUniqueKey
public Object loadByUniqueKey(String propertyName,
Object uniqueKey,
SessionImplementor session)
throws HibernateException
- Load an instance of the persistent class, by a unique key other
than the primary key.
- Throws:
HibernateException
getPropertyIndex
public int getPropertyIndex(String propertyName)
- Get the property number of the unique key property