Re: Failover when read only.
Hi,
How are you setting your server to read-only mode?
AFAIK when the server is in read-only mode, any data changing query execution hangs without returning results. As such you could set your connection with the property "socketTimeout=<milliseconds>" and then you'll get the 08* exception you need when the timeout is reached.
I hope that helps.
Subject
Written By
Posted
Re: Failover when read only.
April 12, 2017 05:39PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.