Class DbClientContext

java.lang.Object
io.helidon.dbclient.DbClientContext
All Implemented Interfaces:
DbContext

public class DbClientContext extends Object implements DbContext
Helidon database client context. This instance holds configuration and runtimes that are shared by any execution within this client runtime.
  • Constructor Details

  • Method Details

    • missingMapParametersAsNull

      public boolean missingMapParametersAsNull()
      Description copied from interface: DbContext
      Configured missing values in named parameters Map handling.
      Specified by:
      missingMapParametersAsNull in interface DbContext
      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

      public DbStatements statements()
      Description copied from interface: DbContext
      Configured statements.
      Specified by:
      statements in interface DbContext
      Returns:
      statements
    • dbMapperManager

      public DbMapperManager dbMapperManager()
      Description copied from interface: DbContext
      Configured DB Mapper manager.
      Specified by:
      dbMapperManager in interface DbContext
      Returns:
      DB mapper manager
    • mapperManager

      public MapperManager mapperManager()
      Description copied from interface: DbContext
      Configured mapper manager.
      Specified by:
      mapperManager in interface DbContext
      Returns:
      mapper manager
    • clientServices

      public List<DbClientService> clientServices()
      Description copied from interface: DbContext
      Configured client services (interceptors).
      Specified by:
      clientServices in interface DbContext
      Returns:
      client services
    • dbType

      public String dbType()
      Type of this database provider (such as jdbc:mysql, mongoDB etc.).
      Specified by:
      dbType in interface DbContext
      Returns:
      name of the database provider
    • builder

      public static DbClientContext.Builder builder()
      Create Helidon database client context builder.
      Returns:
      database client context builder