@Documented @Target(value=TYPE) @Retention(value=SOURCE) public @interface LazySQLConfig
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
addJsonAnnotations
If set, the getters generated make the first letter uppercase
if not, they are created
|
String |
cacheFilePath
If set, all DB Queris will be cached to that file
|
String |
customDatabaseDriver
If set, we try to register this driver before connecting to the db.Not necessary for all supported JDBC drivers
|
String |
dburl
URL for JDBC Connection (only used during compilation)
e.g. jdbc:sqlserver://localhost;databaseName=whateveryoulike
|
boolean |
dependencyInjection
If set, we use @Inject for injecting the datasource in the generated
classes
|
String |
file
Path to a JSON file with config parameters
|
boolean |
global
wether this configuration is only for the annotated class (false)
or for the whole project.
|
String |
password
password for the database connection
|
String |
user
Username for the database connection
|
public abstract String file
public abstract String dburl
public abstract String user
public abstract String password
public abstract boolean global
public abstract String cacheFilePath
public abstract String customDatabaseDriver
Copyright © 2019. All rights reserved.