On 8/31/2012 7:05 AM, Alain Kuchta wrote:

Hello all,

I've actually found an answer to my own question in the Derby Reference Manual.

The java.sql.Connection method "setReadOnly(boolean)" is supported and performs as I desired.

Perhaps someone else will found this snippet useful.


One word of caution: While Connection.setReadOnly works fine for Embedded. There is a long standing issue with the call with Client:
https://issues.apache.org/jira/browse/DERBY-911


Reply via email to