notfound.java
来自「hibernate3.2.6源码和jar包」· Java 代码 · 共 19 行
JAVA
19 行
package org.hibernate.annotations;import static java.lang.annotation.ElementType.FIELD;import static java.lang.annotation.ElementType.METHOD;import java.lang.annotation.Retention;import static java.lang.annotation.RetentionPolicy.RUNTIME;import java.lang.annotation.Target;/** * Action to do when an element is not found on a association whiel beeing expected * * @author Emmanuel Bernard */@Target({METHOD, FIELD})@Retention(RUNTIME)public @interface NotFound { NotFoundAction action() default NotFoundAction.EXCEPTION;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?