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
Setting mutability on an existing connection is way too late IMO to get a read only connection. This brings up another point which is how to provide multiple connections. PostgreSQL JDBC has a notion of providing multiple hosts/ ports in the URL but no notion of which ones are read only. This might be better handled with a custom connection factory, but I still think setting mutability on the transaction is too late.
The text was updated successfully, but these errors were encountered:
r2dbc-spi/r2dbc-spi/src/main/java/io/r2dbc/spi/ConnectionFactory.java
Line 24 in ad3ffd5
Setting mutability on an existing connection is way too late IMO to get a read only connection. This brings up another point which is how to provide multiple connections. PostgreSQL JDBC has a notion of providing multiple hosts/ ports in the URL but no notion of which ones are read only. This might be better handled with a custom connection factory, but I still think setting mutability on the transaction is too late.
The text was updated successfully, but these errors were encountered: