다음을 통해 공유


setReadOnly Method (SQLServerConnection)

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

참고

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

public void setReadOnly(boolean readOnly)

매개 변수

readOnly

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

예외

SQLServerException

주의

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

참고 항목

참조

SQLServerConnection Class

개념

SQLServerConnection Methods
SQLServerConnection Members