All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.chengyuxing.sql.annotation.XQL Maven / Gradle / Ivy

Go to download

Light wrapper of JDBC, support ddl, dml, query, plsql/procedure/function, transaction and manage sql file.

There is a newer version: 9.0.2
Show newest version
package com.github.chengyuxing.sql.annotation;

import java.lang.annotation.*;

/**
 * Specify the method if method name not equals to sql fragment name
 * or method behaviour is not detected.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface XQL {
    /**
     * Sql fragment name.
     *
     * @return Sql fragment name
     */
    String value() default "";

    /**
     * Sql type.
     *
     * @return Sql type
     */
    SqlStatementType type() default SqlStatementType.query;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy