java.lang.Object
org.itsallcode.jdbc.dialect.GenericDialect
- All Implemented Interfaces:
 DbDialect
A generic 
DbDialect without any special handling.- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptioncreateExtractor(ColumnMetaData column) Create an extractor for the given column.<T> ColumnValueSetter<T>createSetter(Class<T> type) Create a new column value setter for setting values on aPreparedStatementspecific to the dialect.booleansupportsUrl(String jdbcUrl) Check if this dialect supports the database type with the given JDBC URL. 
- 
Field Details
- 
INSTANCE
Singleton instance of the generic DB dialect. 
 - 
 - 
Method Details
- 
supportsUrl
Description copied from interface:DbDialectCheck if this dialect supports the database type with the given JDBC URL.- Specified by:
 supportsUrlin interfaceDbDialect- Parameters:
 jdbcUrl- JDBC URL- Returns:
 trueif this dialect supports the database
 - 
createExtractor
Description copied from interface:DbDialectCreate an extractor for the given column.- Specified by:
 createExtractorin interfaceDbDialect- Parameters:
 column- the column for which to get the extractor- Returns:
 - extractor
 
 - 
createSetter
Description copied from interface:DbDialectCreate a new column value setter for setting values on aPreparedStatementspecific to the dialect.- Specified by:
 createSetterin interfaceDbDialect- Type Parameters:
 T- object type- Parameters:
 type- object type- Returns:
 - column value setter
 
 
 -