- Author:
- Thomas Oster (mail@thomas-oster.de)
-
Optional Element Summary
Optional Elements
boolean
If set, the getters generated make the first letter uppercase
if not, they are created
If set, all DB Queris will be cached to that file
If set, we try to register this driver before connecting to the db.Not necessary for all supported JDBC drivers
URL for JDBC Connection (only used during compilation)
e.g.
boolean
If set, we use @Inject for injecting the datasource in the generated
classes
Path to a JSON file with config parameters
boolean
wether this configuration is only for the annotated class (false)
or for the whole project.
password for the database connection
Username for the database connection
-
Element Details
-
file
Path to a JSON file with config parameters
- Returns:
- Default:
- ""
-
dburl
URL for JDBC Connection (only used during compilation)
e.g. jdbc:sqlserver://localhost;databaseName=whateveryoulike
- Returns:
- Default:
- ""
-
user
Username for the database connection
- Returns:
- Default:
- ""
-
password
password for the database connection
- Returns:
- Default:
- ""
-
global
boolean global
wether this configuration is only for the annotated class (false)
or for the whole project. Annotations on the class override
global ones.
- Returns:
- Default:
- true
-
cacheFilePath
If set, all DB Queris will be cached to that file
- Returns:
- Default:
- ""
-
customDatabaseDriver
If set, we try to register this driver before connecting to the db.Not necessary for all supported JDBC drivers
- Returns:
- Default:
- ""
-
dependencyInjection
boolean dependencyInjection
If set, we use @Inject for injecting the datasource in the generated
classes
- Returns:
- Default:
- false
-
addJsonAnnotations
boolean addJsonAnnotations
If set, the getters generated make the first letter uppercase
if not, they are created
- Returns:
- if getters/setters should be capitalized
- Default:
- false