uniquekeyloadable.java

来自「好东西,hibernate-3.2.0,他是一开元的树杖hibernate-3.」· Java 代码 · 共 23 行

JAVA
23
字号
//$Id: UniqueKeyLoadable.java 5732 2005-02-14 15:53:24Z oneovthafew $
package org.hibernate.persister.entity;

import org.hibernate.HibernateException;
import org.hibernate.engine.SessionImplementor;

/**
 * @author Gavin King
 */
public interface UniqueKeyLoadable extends Loadable {
	/**
	 * Load an instance of the persistent class, by a unique key other
	 * than the primary key.
	 */
	public Object loadByUniqueKey(String propertyName, Object uniqueKey, SessionImplementor session) 
	throws HibernateException;
	/**
	 * Get the property number of the unique key property
	 */
	public int getPropertyIndex(String propertyName);

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?