共用方式為


getAutoCommit Method (SQLServerConnection)

Retrieves the current auto-commit mode for this SQLServerConnection object.

public boolean getAutoCommit()

傳回值

true if auto-commit mode is enabled, false if it is not.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerConnection Class

概念

SQLServerConnection Methods
SQLServerConnection Members