IDatabaseMetaData.AutoCommitFailureClosesAllResultSets Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves whether a SQLException
while autoCommit is true
inidcates
that all open ResultSets are closed, even ones that are holdable.
[Android.Runtime.Register("autoCommitFailureClosesAllResultSets", "()Z", "GetAutoCommitFailureClosesAllResultSetsHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool AutoCommitFailureClosesAllResultSets ();
[<Android.Runtime.Register("autoCommitFailureClosesAllResultSets", "()Z", "GetAutoCommitFailureClosesAllResultSetsHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AutoCommitFailureClosesAllResultSets : unit -> bool
Returns
true
if so; false
otherwise
- Attributes
Exceptions
if any error occurs
Remarks
Retrieves whether a SQLException
while autoCommit is true
inidcates that all open ResultSets are closed, even ones that are holdable. When a SQLException
occurs while autocommit is true
, it is vendor specific whether the JDBC driver responds with a commit operation, a rollback operation, or by doing neither a commit nor a rollback. A potential result of this difference is in whether or not holdable ResultSets are closed.
Added in 1.6.
Java documentation for java.sql.DatabaseMetaData.autoCommitFailureClosesAllResultSets()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.