Package | Description |
---|---|
org.springframework.data.r2dbc.config |
Configuration classes for Spring Data R2DBC.
|
org.springframework.data.r2dbc.core |
Core domain types around DatabaseClient.
|
org.springframework.data.r2dbc.support |
Support infrastructure for the configuration of R2DBC-specific repositories.
|
Modifier and Type | Method and Description |
---|---|
R2dbcExceptionTranslator |
AbstractR2dbcConfiguration.exceptionTranslator()
Creates a
R2dbcExceptionTranslator using the configured ConnectionFactory . |
Modifier and Type | Method and Description |
---|---|
DatabaseClient |
AbstractR2dbcConfiguration.databaseClient(ReactiveDataAccessStrategy dataAccessStrategy,
R2dbcExceptionTranslator exceptionTranslator)
Register a
DatabaseClient using AbstractR2dbcConfiguration.connectionFactory() and RelationalMappingContext . |
Modifier and Type | Method and Description |
---|---|
DatabaseClient.Builder |
DatabaseClient.Builder.exceptionTranslator(R2dbcExceptionTranslator exceptionTranslator)
Configures a
R2dbcExceptionTranslator . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFallbackR2dbcExceptionTranslator
Base class for
R2dbcExceptionTranslator implementations that allow for fallback to some other
R2dbcExceptionTranslator . |
class |
R2dbcExceptionSubclassTranslator
R2dbcExceptionTranslator implementation which analyzes the specific R2dbcException subclass thrown by
the R2DBC driver. |
class |
SqlErrorCodeR2dbcExceptionTranslator
Implementation of
R2dbcExceptionTranslator that analyzes vendor-specific error codes. |
class |
SqlStateR2dbcExceptionTranslator
R2dbcExceptionTranslator implementation that analyzes the SQL state in the R2dbcException based on
the first two digits (the SQL state "class"). |
Modifier and Type | Method and Description |
---|---|
R2dbcExceptionTranslator |
AbstractFallbackR2dbcExceptionTranslator.getFallbackTranslator()
Return the fallback exception translator, if any.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractFallbackR2dbcExceptionTranslator.setFallbackTranslator(R2dbcExceptionTranslator fallback)
Override the default SQL state fallback translator (typically a
R2dbcExceptionTranslator ). |
Copyright © 2018–2019 Pivotal Software, Inc.. All rights reserved.