r2dbc / r2dbc-spi

Service Provider Interface for R2DBC Implementations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

statementtimeout not working

kartikarora2 opened this issue · comments

statementTimeout introduced in release v0.9.0.M2 is not working. We are using 0.9.0.RELEASE version of r2dbc-spi. We have set the statement timeout using connection factory options as below.

Screenshot 2022-12-04 at 6 25 41 PM

To test statementTimeout we had set set it's value as 1ms. But our query ran for around 12ms, ideally it should have timeout because of the statement timeout parameter and thrown R2dbcTimeoutException. But the query ran successfully.

What driver are you using? This repository hosts only the specification, not the actual driver implementations.

We are jasync-sql to connect with our aurora rds mysql instance.