setReadOnly Method (SQLServerConnection)
SQL Server 2005
Puts this SQLServerConnection object in read-only mode as a hint to the JDBC driver to enable database optimizations.
Note: |
|---|
| This method is not supported by the Microsoft SQL Server 2005 JDBC Driver. |
public void setReadOnly(boolean readOnly)
Parameters
readOnly
true if the connection is to be read-only. Otherwise, false.

Note: