Re: Question on JDBC Failover
Hi!
(I'm using ConnectorJ 3.1.6)
You need re-try executeUpdate for 2nd insert after catch the SQLException in this case.
See testsuite.simple.ConnectionTest.java, line:703
When connecting to server, ConnectorJ do roundRobin if target server is unreachable or down. (after 3 times re-try connection by default)
See com.mysql.jdbc.Connection.java, line:1838
ConnectorJ is only working by it's specification.
Regards,
Tetsuro.
Subject
Written By
Posted
Re: Question on JDBC Failover
February 21, 2005 12:29AM
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.