Class DialectResolver.DefaultDialectProvider
java.lang.Object
org.springframework.data.jdbc.repository.config.DialectResolver.DefaultDialectProvider
- All Implemented Interfaces:
DialectResolver.JdbcDialectProvider
- Enclosing class:
- DialectResolver
public static class DialectResolver.DefaultDialectProvider
extends Object
implements DialectResolver.JdbcDialectProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDialect
(JdbcOperations operations) Returns aDialect
for aDataSource
.
-
Constructor Details
-
DefaultDialectProvider
public DefaultDialectProvider()
-
-
Method Details
-
getDialect
Description copied from interface:DialectResolver.JdbcDialectProvider
Returns aDialect
for aDataSource
.- Specified by:
getDialect
in interfaceDialectResolver.JdbcDialectProvider
- Parameters:
operations
- theJdbcOperations
to be used with theDialect
.- Returns:
Optional
containing theDialect
if theDialectResolver.JdbcDialectProvider
can provide a dialect object, otherwiseOptional.empty()
.
-