Re: Calling stored procedure in java with connector/j
Samir Seba wrote:
> Hello,
>
> Can some one explain how to fix the following :
>
> java.sql.SQLException: Connection is read-only.
> Queries leading to data modification are not
> allowed
>
> Thank you.
Samir,
You're calling executeUpdate() on a connection that has had 'setReadOnly(true)' called on it.
-Mark
Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html
Subject
Views
Written By
Posted
4273
March 22, 2005 07:17AM
Re: Calling stored procedure in java with connector/j
2959
April 05, 2005 10:53AM
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.