-
-
Notifications
You must be signed in to change notification settings - Fork 139
Description
In commit: https://github.com/jasync-sql/jasync-sql/pull/116/files#diff-48ac27ec5f7ffa2729c94453b580b09eed8a1a59e32d3836d52d83ba0e91d6b5, file: r2dbc-mysql/src/main/java/JasyncStatement.kt,
If MySQLException is catched, R2dbcTransientExceptions like R2dbcTimeoutException, R2dbcRollbackException and R2dbcTransientResourceException are not mapped properly because of which each of them falls in JasyncDatabaseException.
Because of which, springframework.r2dbc (org.springframework:spring-r2dbc v5.3.19) always throws them as UncategorizedR2dbcException, whereas in ideal case it should be throwing them as QueryTimeoutException, ConcurrencyFailureException and TransientDataAccessResourceException respectively.