Interface DbContext

All Known Implementing Classes:
DbClientContext, DbExecuteContext

public interface DbContext
Database context.
  • Method Details

    • missingMapParametersAsNull

      boolean missingMapParametersAsNull()
      Configured missing values in named parameters Map handling.
      Returns:
      when set to true, named parameters value missing in the Map is considered as null, when set to false, any parameter value missing in the Map 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