| Package | Description |
|---|---|
| ch.jalu.datasourcecolumns.sqlimplementation |
| Modifier and Type | Method and Description |
|---|---|
static <C> SqlColumnsHandlerConfig<C> |
SqlColumnsHandlerConfig.forConnectionPool(ConnectionSupplier connectionSupplier,
String tableName,
String idColumn,
C context)
Creates a configuration with defaults for the given connection supplier.
|
static <C> SqlColumnsHandlerConfig<C> |
SqlColumnsHandlerConfig.forSingleConnection(Connection connection,
String tableName,
String idColumn,
C context)
Creates a configuration with defaults based on a single, long-living Connection that should be used.
|
SqlColumnsHandlerConfig<C> |
SqlColumnsHandlerConfig.setPredicateSqlGenerator(PredicateSqlGenerator<C> predicateSqlGenerator)
Sets a custom
PredicateSqlGenerator. |
SqlColumnsHandlerConfig<C> |
SqlColumnsHandlerConfig.setPreparedStatementGeneratorFactory(PreparedStatementGeneratorFactory factory)
Sets a custom
PreparedStatementGeneratorFactory. |
SqlColumnsHandlerConfig<C> |
SqlColumnsHandlerConfig.setResultSetValueRetriever(ResultSetValueRetriever<C> resultSetValueRetriever)
Sets a custom
ResultSetValueRetriever. |
| Constructor and Description |
|---|
SqlColumnsHandler(SqlColumnsHandlerConfig<C> config)
Constructor.
|
Copyright © 2017–2024. All rights reserved.