userversiontype.java

来自「介绍了hibernate的入门有一些基本常用的事例」· Java 代码 · 共 25 行

JAVA
25
字号
//$Id: UserVersionType.java,v 1.2 2005/02/12 07:19:49 steveebersole Exp $package org.hibernate.usertype;import java.util.Comparator;/** * A user type that may be used for a version property *  * @author Gavin King */public interface UserVersionType extends UserType, Comparator {	/**	 * Generate an initial version.	 * @return an instance of the type	 */	public Object seed();	/**	 * Increment the version.	 * @param current the current version	 * @return an instance of the type	 */	public Object next(Object current);}

⌨️ 快捷键说明

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