⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 identifiergenerator.java

📁 人力资源管理系统主要包括:人员管理、招聘管理、培训管理、奖惩管理和薪金管理五大管理模块。
💻 JAVA
字号:
//$Id: IdentifierGenerator.java,v 1.7 2003/07/28 00:34:32 oneovthafew Exp $package net.sf.hibernate.id;import java.io.Serializable;import net.sf.hibernate.HibernateException;import net.sf.hibernate.engine.SessionImplementor;import java.sql.SQLException;/** * The general contract between a class that generates unique * identifiers and the <tt>Session</tt>. It is not intended that  * this interface ever be exposed to the application. It <b>is</b> * intended that users implement this interface to provide * custom identifier generation strategies.<br> * <br> * Implementors should provide a public default constructor.<br> * <br> * Implementations that accept configuration parameters should * also implement <tt>Configurable</tt>. * <br> * Implementors <em>must</em> be threadsafe * * @see PersistentIdentifierGenerator * @see Configurable * @author Gavin King */public interface IdentifierGenerator {	/**	 * Generate a new identifier.	 * @param session	 * @param object the entity or toplevel collection for which the id is being generated	 * @return Serializable a new identifier	 * @throws SQLException	 * @throws IdentifierGenerationException	 */	public Serializable generate(SessionImplementor session, Object object) throws SQLException, HibernateException;	}

⌨️ 快捷键说明

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