You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, DataSourceUtils.resetConnectionAfterTransaction(…) queries the isReadOnly() state from the given JDBC Connection to disable read-only mode if isReadOnly() returns true. Ideally, the read-only state should be reset only if transaction attributes indicated to enable read-only mode (similar to isolation level and auto-commit).
Some JDBC drivers (e.g. H2) reach out to the database to query the state and we could skip this interaction.
The text was updated successfully, but these errors were encountered:
Currently,
DataSourceUtils.resetConnectionAfterTransaction(…)
queries theisReadOnly()
state from the given JDBCConnection
to disable read-only mode ifisReadOnly()
returnstrue
. Ideally, the read-only state should be reset only if transaction attributes indicated to enable read-only mode (similar to isolation level and auto-commit).Some JDBC drivers (e.g. H2) reach out to the database to query the state and we could skip this interaction.
The text was updated successfully, but these errors were encountered: