uniquekeyloadable.java
来自「用Java实现的23个常用设计模式源代码」· Java 代码 · 共 25 行
JAVA
25 行
//$Id: UniqueKeyLoadable.java,v 1.1.2.1 2003/08/09 04:38:40 oneovthafew Exp $
package net.sf.hibernate.persister;
import java.io.Serializable;
import java.sql.SQLException;
import net.sf.hibernate.HibernateException;
import net.sf.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, Serializable uniqueKey, SessionImplementor session) throws HibernateException, SQLException;
/**
* Get the columns of the unique key.
*/
public String[] getUniqueKeyColumnNames(String propertyName);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?