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:
-
SpringFactoriesLoader
-
Method Summary
Modifier and TypeMethodDescriptiongetDialect(org.springframework.jdbc.core.JdbcOperations operations) Returns aDialectfor aDataSource.
-
Method Details
-
getDialect
Returns aDialectfor aDataSource.- Parameters:
operations- theJdbcOperationsto be used with theDialect.- Returns:
Optionalcontaining theDialectif theDialectResolver.JdbcDialectProvidercan provide a dialect object, otherwiseOptional.empty().
-