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

com.github.chengyuxing.sql.annotation.Arg 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 arg name mapping to sql named parameter, e,g sql
 * 
select * from table where id = :id
 * 
* Method: *
method(@Arg("id") int id)
 * 
*/ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.PARAMETER) @Documented public @interface Arg { /** * Arg name. * * @return arg name */ String value(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy