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