com.github.andyshaox.jdbc.annotation.Sql Maven / Gradle / Ivy
package com.github.andyshaox.jdbc.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;
import com.github.andyshaox.jdbc.JdbcReturnConvert;
import com.github.andyshaox.jdbc.SqlAssembly;
import com.github.andyshaox.jdbc.SqlType;
/**
*
* Title:
* Descript:
* Copyright: Copryright(c) Jan 22, 2016
* Encoding:UNIX UTF-8
*
* @author Andy.Shao
*
*/
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Sql {
@SuppressWarnings("rawtypes")
Class extends JdbcReturnConvert> retConvertor() default JdbcReturnConvert.class;
Class extends SqlAssembly> sqlAssembly() default SqlAssembly.class;
SqlType sqlType() default SqlType.QUERY;
String value();
}