- All Known Implementing Classes:
DbClientContext
,DbExecuteContext
public interface DbContext
Database context.
-
Method Summary
Modifier and TypeMethodDescriptionConfigured client services (interceptors).Configured DB Mapper manager.dbType()
Type of this database provider (such as jdbc:mysql, mongoDB etc.).Configured mapper manager.boolean
Configured missing values in named parametersMap
handling.Configured statements.
-
Method Details
-
missingMapParametersAsNull
boolean missingMapParametersAsNull()Configured missing values in named parametersMap
handling.- Returns:
- when set to
true
, named parameters value missing in theMap
is considered asnull
, when set tofalse
, any parameter value missing in theMap
will cause an exception.
-
statements
DbStatements statements()Configured statements.- Returns:
- statements
-
dbMapperManager
DbMapperManager dbMapperManager()Configured DB Mapper manager.- Returns:
- DB mapper manager
-
mapperManager
MapperManager mapperManager()Configured mapper manager.- Returns:
- mapper manager
-
clientServices
List<DbClientService> clientServices()Configured client services (interceptors).- Returns:
- client services
-
dbType
String dbType()Type of this database provider (such as jdbc:mysql, mongoDB etc.).- Returns:
- name of the database provider
-