ICallableStatement.WasNull Method

Definition

Retrieves whether the last OUT parameter read had the value of SQL NULL.

[Android.Runtime.Register("wasNull", "()Z", "GetWasNullHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool WasNull ();
[<Android.Runtime.Register("wasNull", "()Z", "GetWasNullHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member WasNull : unit -> bool

Returns

true if the last parameter read was SQL NULL; false otherwise

Attributes

Exceptions

if a database error occurs.

Remarks

Retrieves whether the last OUT parameter read had the value of SQL NULL. Note that this method should be called only after calling a getter method; otherwise, there is no value to use in determining whether it is null or not.

Java documentation for java.sql.CallableStatement.wasNull().

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.

Applies to