Package org.springframework.r2dbc
@NonNullApi
@NonNullFields
package org.springframework.r2dbc
The classes in this package make R2DBC easier to use and
reduce the likelihood of common errors. In particular, they:
- Simplify error handling, avoiding the need for resource management blocks in application code.
- Present exceptions to application code in a generic hierarchy of unchecked exceptions, enabling applications to catch data access exceptions without being dependent on R2DBC, and to ignore fatal exceptions there is no value in catching.
- Allow the implementation of error handling to be modified to target different RDBMSes without introducing proprietary dependencies into application code.
-
ClassDescriptionException thrown when SQL specified is invalid.Exception thrown when we can't classify a
R2dbcException
into one of our generic data access exceptions.