- All Known Implementing Classes:
AbstractDbDialect
,ExasolDialect
,GenericDialect
,H2Dialect
public interface DbDialect
A database specific dialect.
-
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 aPreparedStatement
specific to the dialect.boolean
supportsUrl
(String jdbcUrl) Check if this dialect supports the database type with the given JDBC URL.
-
Method Details
-
supportsUrl
Check if this dialect supports the database type with the given JDBC URL.- Parameters:
jdbcUrl
- JDBC URL- Returns:
true
if this dialect supports the database
-
createExtractor
Create an extractor for the given column.- Parameters:
column
- the column for which to get the extractor- Returns:
- extractor
-
createSetter
Create a new column value setter for setting values on aPreparedStatement
specific to the dialect.- Type Parameters:
T
- object type- Parameters:
type
- object type- Returns:
- column value setter
-