Re: Connector/J Load Balancing in Master/Slave Environment
Posted by: William Bailey
Date: July 30, 2012 12:38PM

Hi again Todd,

I believe I have answered my own previous question, but feel free to reply with any other insight you may be able to provide.

I just read the javadoc in detail and I now see that setReadOnly CANNOT be called DURING a transaction. Our current framework violates this restriction.

I think we will have to arrange for Connection.setReadOnly to be called prior to the start of the transaction AND we'll have to ensure that it is not changed during the transaction regardless of which template is used.

Thanks.

Bill Bailey

Options: ReplyQuote


Subject
Written By
Posted
Re: Connector/J Load Balancing in Master/Slave Environment
July 30, 2012 12:38PM


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.