@Documented
@Retention(RUNTIME)
@Target(TYPE)
public @interface SQL
Sets the used
SQLFactory and Driver by providing
its identifier.-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringARRAYIndicates all parameters declared in the sql statement will be replaced step by step while iterating over the given array.static java.lang.StringENVUsed within aParamannotation it can be used to indicate the sql statement is saved in the SQL.Environment class.static java.lang.StringMAPIndicates the annotated parameter stores its values in aMap. -
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Stringvalue
-
Field Details
-
ENV
static final java.lang.String ENVUsed within aParamannotation it can be used to indicate the sql statement is saved in the SQL.Environment class. -
MAP
static final java.lang.String MAPIndicates the annotated parameter stores its values in aMap. -
ARRAY
static final java.lang.String ARRAYIndicates all parameters declared in the sql statement will be replaced step by step while iterating over the given array.
-
-
Element Details
-
value
java.lang.String value- Returns:
- the jdbc driver type name.
-