Package org.jdbi.v3.sqlobject.customizer
Annotation Type Definition
@Target({FIELD,METHOD,TYPE})
@Retention(RUNTIME)
@Repeatable(Definitions.class)
@Beta
public @interface Definition
Annotate a SqlObject type, method, or field as @Definition
in order to
define
an attribute for all SqlObject methods in the same type.
- On a type, both the
key
andvalue
must be specified. - On a method, the
key
defaults to the method name, and thevalue
will be the result of calling the method statically. - On a field, the
key
defaults to the field name, and thevalue
will be the result of getting the field value statically.
-
Optional Element Summary
-
Field Summary
-
Field Details
-
UNDEFINED
- See Also:
-
-
Element Details