Condividi tramite


setReadOnly Method (SQLServerConnection)

Puts this SQLServerConnection object in read-only mode as a hint to the JDBC driver to enable database optimizations.

Nota

This method is not supported by the Microsoft SQL Server 2005 JDBC Driver.

public void setReadOnly(boolean readOnly)

Parametri

readOnly

true if the connection is to be read-only. Otherwise, false.

Eccezioni

SQLServerException

Osservazioni

This setReadOnly method is specified by the setReadOnly method in the java.sql.Connection interface.

Vedere anche

Riferimento

SQLServerConnection Class

Concetti

SQLServerConnection Methods
SQLServerConnection Members