- Author:
- Thomas Oster (mail@thomas-oster.de)
-
Required Element Summary
Required Elements
-
Optional Element Summary
Optional Elements
boolean
If true, the SQL Excetpion will be caught and a
runtime Exception will be thrown, so that the method
signature does not contain a checked exception.
boolean
boolean
If true, the db-connection will be opened with a try-with-resources block.
boolean
-
-
-
-
dynamicWhereClause
boolean dynamicWhereClause
- Default:
- false
-
-
-
manageConnectionWithDatasource
boolean manageConnectionWithDatasource
If true, the db-connection will be opened with a try-with-resources block.
The Connection will be closed after the method
has finished.
If dependencyInjection is enabled,
the DataSource will be injected in the LazyDB
class, otherwise the DataSource will
be the first parameter instead of a connection.
- Default:
- false
-
convertSqlExceptionToRuntimeException
boolean convertSqlExceptionToRuntimeException
If true, the SQL Excetpion will be caught and a
runtime Exception will be thrown, so that the method
signature does not contain a checked exception.
- Returns:
- Default:
- false