com.mybatis.jpa.annotation.UpdateDefinition Maven / Gradle / Ivy
package com.mybatis.jpa.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author svili
**/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface UpdateDefinition {
boolean selective() default false;
/**
* default id = #{id}
*/
String where() default "id = #{id}";
}