com.github.chengyuxing.sql.annotation.Procedure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rabbit-sql Show documentation
Show all versions of rabbit-sql Show documentation
Light wrapper of JDBC, support ddl, dml, query, plsql/procedure/function, transaction and manage sql
file.
package com.github.chengyuxing.sql.annotation;
import java.lang.annotation.*;
/**
* Method annotated with {@code @Procedure} means the method no need to mapping
* with sql fragment, {@link XQL @XQL} will be not working.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface Procedure {
/**
* Procedure or function name.
*
* @return procedure or function name
*/
String value();
}