getConcurrency Method (SQLServerResultSet)
Retrieves the concurrency mode of this SQLServerResultSet object.
Syntax
public int getConcurrency()
Return Value
An int that indicates the concurrency type, which can be one of the following values:
ResultSet.CONCUR_READ_ONLY
ResultSet.CONCUR_UPDATABLE
Exceptions
Remarks
This getConcurrency method is specified by the getConcurrency method in the java.sql.ResultSet interface.
The concurrency used is determined by the SQLServerStatement object that created the result set.
This method can be used to determine the actual concurrency. If the application selected CONCUR_READ_ONLY or CONCUR_UPDATABLE, these will be returned. If the application used default concurrency, CONCUR_READ_ONLY will be returned.
See Also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho