Interface DialectResolver.JdbcDialectProvider
- All Known Implementing Classes:
DialectResolver.DefaultDialectProvider
- Enclosing class:
- DialectResolver
public static interface DialectResolver.JdbcDialectProvider
SPI to extend Spring's default JDBC Dialect discovery mechanism. Implementations of this interface are discovered
through Spring's
SpringFactoriesLoader
mechanism.- Author:
- Jens Schauder
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetDialect
(JdbcOperations operations) Returns aDialect
for aDataSource
.
-
Method Details
-
getDialect
Returns aDialect
for aDataSource
.- Parameters:
operations
- theJdbcOperations
to be used with theDialect
.- Returns:
Optional
containing theDialect
if theDialectResolver.JdbcDialectProvider
can provide a dialect object, otherwiseOptional.empty()
.
-