Re: Question on JDBC Failover
Posted by: Tetsuro Ikeda
Date: February 21, 2005 12:29AM

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.

Options: ReplyQuote


Subject
Written By
Posted
January 24, 2005 01:37AM
January 26, 2005 11:47PM
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.