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

📄 entity.java

📁 hibernate3.2.6源码和jar包
💻 JAVA
字号:
//$Id: Entity.java 11282 2007-03-14 22:05:59Z epbernard $package org.hibernate.annotations;import static java.lang.annotation.ElementType.TYPE;import java.lang.annotation.Retention;import static java.lang.annotation.RetentionPolicy.RUNTIME;import java.lang.annotation.Target;/** * Extends {@link javax.persistence.Entity} with Hibernate features * * @author Emmanuel Bernard */@Target(TYPE)@Retention(RUNTIME)public @interface Entity {	/** Is this entity mutable (read only) or not */	boolean mutable() default true;	/** Needed column only in SQL on insert */	boolean dynamicInsert() default false;	/** Needed column only in SQL on update */	boolean dynamicUpdate() default false;	/** Do a select to retrieve the entity before any potential update */	boolean selectBeforeUpdate() default false;	/** polymorphism strategy for this entity */	PolymorphismType polymorphism() default PolymorphismType.IMPLICIT;	/** persister of this entity, default is hibernate internal one */	String persister() default "";	/** optimistic locking strategy */	OptimisticLockType optimisticLock() default OptimisticLockType.VERSION;}

⌨️ 快捷键说明

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