com.mybatis.jpa.definition.property.InsertDefinitionProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-jpa Show documentation
Show all versions of mybatis-jpa Show documentation
The plugins for mybatis, in order to provider the ability to handler jpa.
package com.mybatis.jpa.definition.property;
import com.mybatis.jpa.annotation.InsertDefinition;
/**
* @author sway.li
**/
public class InsertDefinitionProperty implements AnnotationProperty {
private InsertDefinition annotation;
public InsertDefinitionProperty(InsertDefinition annotation) {
this.annotation = annotation;
}
@Override
public boolean selective() {
return annotation.selective();
}
@Override
public String where() {
return null;
}
}