optimisticlock.java
来自「hibernate3.2.6源码和jar包」· Java 代码 · 共 25 行
JAVA
25 行
//$Id: $package org.hibernate.annotations;import java.lang.annotation.ElementType;import java.lang.annotation.Retention;import java.lang.annotation.RetentionPolicy;import java.lang.annotation.Target;/** * Whether or not update entity's version on property's change * If the annotation is not present, the property is involved in the optimistic lock srategy (default) * * @author Logi Ragnarsson */@Target( {ElementType.METHOD, ElementType.FIELD} )@Retention( RetentionPolicy.RUNTIME )public @interface OptimisticLock { /** * If true, the annotated property change will not trigger a version upgrade */ boolean excluded();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?