Package xyz.block.ftl
Annotation SQLDatasource
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Retention(value = RetentionPolicy.RUNTIME)@Target(value = {ElementType.PACKAGE, ElementType.TYPE}) public @interface SQLDatasource
Annotation to specify a SQL datasource. This can be added anywhere in your application, but it is recommended to add it to a package-info.java file at the root of your package hierarchy.
-
-
Method Summary
Modifier and Type Method Description abstract Stringname()The name of the datasource. abstract SQLDatabaseTypetype()The type of the SQL database. -
-
Method Detail
-
type
abstract SQLDatabaseType type()
The type of the SQL database.
- Returns:
the type of the SQL database
-
-
-
-