public static class DialectResolver.DefaultDialectProvider extends Object implements DialectResolver.JdbcDialectProvider
Constructor and Description |
---|
DefaultDialectProvider() |
Modifier and Type | Method and Description |
---|---|
Optional<Dialect> |
getDialect(JdbcOperations operations)
Returns a
Dialect for a DataSource . |
public Optional<Dialect> getDialect(JdbcOperations operations)
DialectResolver.JdbcDialectProvider
Dialect
for a DataSource
.getDialect
in interface DialectResolver.JdbcDialectProvider
operations
- the JdbcOperations
to be used with the Dialect
.Optional
containing the Dialect
if the DialectResolver.JdbcDialectProvider
can provide a dialect
object, otherwise Optional.empty()
.Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.