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

📄 versionproperty.java

📁 介绍了hibernate的入门有一些基本常用的事例
💻 JAVA
字号:
// $Id: VersionProperty.java,v 1.2 2005/02/18 20:04:16 steveebersole Exp $package org.hibernate.tuple;import org.hibernate.engine.Cascades;import org.hibernate.type.Type;/** * Represents a version property within the Hibernate runtime-metamodel. * * @author Steve Ebersole */public class VersionProperty extends StandardProperty {	private Cascades.VersionValue unsavedValue;	/**	 * Constructs VersionProperty instances.	 *	 * @param name The name by which the property can be referenced within	 * its owner.	 * @param node The node name to use for XML-based representation of this	 * property.	 * @param type The Hibernate Type of this property.	 * @param lazy Should this property be handled lazily?	 * @param insertable Is this property an insertable value?	 * @param updateable Is this property an updateable value?	 * @param nullable Is this property a nullable value?	 * @param checkable Is this property a checkable value?	 * @param versionable Is this property a versionable value?	 * @param cascadeStyle The cascade style for this property's value.	 * @param unsavedValue The value which, if found as the value of	 * this (i.e., the version) property, represents new (i.e., un-saved)	 * instances of the owning entity.	 */	public VersionProperty(	        String name,	        String node,	        Type type,	        boolean lazy,	        boolean insertable,	        boolean updateable,	        boolean nullable,	        boolean checkable,	        boolean versionable,	        Cascades.CascadeStyle cascadeStyle,	        Cascades.VersionValue unsavedValue) {		super(name, node, type, lazy, insertable, updateable, nullable, checkable, versionable, cascadeStyle);		this.unsavedValue = unsavedValue;	}	public Cascades.VersionValue getUnsavedValue() {		return unsavedValue;	}}

⌨️ 快捷键说明

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