java.sql.Connection.setReadOnly()

java.sql.Connection.setReadOnly()

Post by Alex Grivni » Thu, 17 Jul 2003 19:23:40



I'm looking for an explanation of the method. The JDBC API says that it
"Puts this connection in read-only mode as a hint to enable database
optimizations". Does it mean that executing any of delete/update/etc. should
fail? Or the result of the operation that changes data is not defined?

Thanks in advance,

Alex Grivnin
Orsus Solutions