Package xyz.block.ftl
Annotation SQLDatasource
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Retention(value = RetentionPolicy.RUNTIME) public @interface SQLDatasource
Annotation to specify a SQL datasource. This can be added anywhere in your application.
-
-
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
-
-
-
-