Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 JDBC Driver for SQL Server.
Syntax
public void setReadOnly(boolean readOnly)
Parameters
readOnly
true if the connection is to be read-only. Otherwise, false.
Exceptions
Remarks
This setReadOnly method is specified by the setReadOnly method in the java.sql.Connection interface.