Table of Contents

Class Statement

Namespace
Java.Sql
Assembly
MASES.JNet.dll
public class Statement : JVMBridgeBase<Statement>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IStatement
Inheritance
JVMBridgeBase
JVMBridgeBase<Statement>
Statement
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Statement>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Statement>.IsAssignableFrom<T>()
JVMBridgeBase<Statement>.Execute<T>(params T[])
JVMBridgeBase<Statement>.DynBridgeClazz
JVMBridgeBase<Statement>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Statement()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("Statement class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Statement()

Statement(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("Statement class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Statement(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

CLOSE_ALL_RESULTS

public static int CLOSE_ALL_RESULTS { get; }

Property Value

int

CLOSE_CURRENT_RESULT

public static int CLOSE_CURRENT_RESULT { get; }

Property Value

int

Connection

public Connection Connection { get; }

Property Value

Connection

EXECUTE_FAILED

public static int EXECUTE_FAILED { get; }

Property Value

int

FetchDirection

public int FetchDirection { get; set; }

Property Value

int

FetchSize

public int FetchSize { get; set; }

Property Value

int

GeneratedKeys

public ResultSet GeneratedKeys { get; }

Property Value

ResultSet

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

KEEP_CURRENT_RESULT

public static int KEEP_CURRENT_RESULT { get; }

Property Value

int

LargeMaxRows

public long LargeMaxRows { get; set; }

Property Value

long

LargeUpdateCount

public long LargeUpdateCount { get; }

Property Value

long

MaxFieldSize

public int MaxFieldSize { get; set; }

Property Value

int

MaxRows

public int MaxRows { get; set; }

Property Value

int

MoreResults

public bool MoreResults { get; }

Property Value

bool

NO_GENERATED_KEYS

public static int NO_GENERATED_KEYS { get; }

Property Value

int

QueryTimeout

public int QueryTimeout { get; set; }

Property Value

int

RETURN_GENERATED_KEYS

public static int RETURN_GENERATED_KEYS { get; }

Property Value

int

ResultSet

public ResultSet ResultSet { get; }

Property Value

ResultSet

ResultSetConcurrency

public int ResultSetConcurrency { get; }

Property Value

int

ResultSetHoldability

public int ResultSetHoldability { get; }

Property Value

int

ResultSetType

public int ResultSetType { get; }

Property Value

int

SUCCESS_NO_INFO

public static int SUCCESS_NO_INFO { get; }

Property Value

int

UpdateCount

public int UpdateCount { get; }

Property Value

int

Warnings

public SQLWarning Warnings { get; }

Property Value

SQLWarning

Methods

AddBatch(String)

public void AddBatch(String arg0)

Parameters

arg0 String

String

Exceptions

SQLException

Cancel()

public void Cancel()

Exceptions

SQLException

ClearBatch()

public void ClearBatch()

Exceptions

SQLException

ClearWarnings()

public void ClearWarnings()

Exceptions

SQLException

Close()

public void Close()

Exceptions

SQLException

CloseOnCompletion()

public void CloseOnCompletion()

Exceptions

SQLException

EnquoteIdentifier(String, bool)

public String EnquoteIdentifier(String arg0, bool arg1)

Parameters

arg0 String

String

arg1 bool

bool

Returns

String

String

Exceptions

SQLException

EnquoteLiteral(String)

public String EnquoteLiteral(String arg0)

Parameters

arg0 String

String

Returns

String

String

Exceptions

SQLException

EnquoteNCharLiteral(String)

public String EnquoteNCharLiteral(String arg0)

Parameters

arg0 String

String

Returns

String

String

Exceptions

SQLException

Execute(String)

public bool Execute(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

SQLException

Execute(String, String[])

public bool Execute(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

bool

bool

Exceptions

SQLException

Execute(String, int)

public bool Execute(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

bool

bool

Exceptions

SQLException

Execute(String, int[])

public bool Execute(String arg0, int[] arg1)

Parameters

arg0 String

String

arg1 int[]

int

Returns

bool

bool

Exceptions

SQLException

ExecuteBatch()

public int[] ExecuteBatch()

Returns

int[]

int

Exceptions

SQLException

ExecuteLargeBatch()

public long[] ExecuteLargeBatch()

Returns

long[]

long

Exceptions

SQLException

ExecuteLargeUpdate(String)

public long ExecuteLargeUpdate(String arg0)

Parameters

arg0 String

String

Returns

long

long

Exceptions

SQLException

ExecuteLargeUpdate(String, String[])

public long ExecuteLargeUpdate(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

long

long

Exceptions

SQLException

ExecuteLargeUpdate(String, int)

public long ExecuteLargeUpdate(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

long

long

Exceptions

SQLException

ExecuteLargeUpdate(String, int[])

public long ExecuteLargeUpdate(String arg0, int[] arg1)

Parameters

arg0 String

String

arg1 int[]

int

Returns

long

long

Exceptions

SQLException

ExecuteQuery(String)

public ResultSet ExecuteQuery(String arg0)

Parameters

arg0 String

String

Returns

ResultSet

ResultSet

Exceptions

SQLException

ExecuteUpdate(String)

public int ExecuteUpdate(String arg0)

Parameters

arg0 String

String

Returns

int

int

Exceptions

SQLException

ExecuteUpdate(String, String[])

public int ExecuteUpdate(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

int

int

Exceptions

SQLException

ExecuteUpdate(String, int)

public int ExecuteUpdate(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

int

int

Exceptions

SQLException

ExecuteUpdate(String, int[])

public int ExecuteUpdate(String arg0, int[] arg1)

Parameters

arg0 String

String

arg1 int[]

int

Returns

int

int

Exceptions

SQLException

GetMoreResults(int)

public bool GetMoreResults(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

Exceptions

SQLException

IsCloseOnCompletion()

public bool IsCloseOnCompletion()

Returns

bool

bool

Exceptions

SQLException

IsClosed()

public bool IsClosed()

Returns

bool

bool

Exceptions

SQLException

IsPoolable()

public bool IsPoolable()

Returns

bool

bool

Exceptions

SQLException

IsSimpleIdentifier(String)

public bool IsSimpleIdentifier(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

SQLException

SetCursorName(String)

public void SetCursorName(String arg0)

Parameters

arg0 String

String

Exceptions

SQLException

SetEscapeProcessing(bool)

public void SetEscapeProcessing(bool arg0)

Parameters

arg0 bool

bool

Exceptions

SQLException

SetPoolable(bool)

public void SetPoolable(bool arg0)

Parameters

arg0 bool

bool

Exceptions

SQLException

Operators

implicit operator AutoCloseable(Statement)

Converter from Statement to AutoCloseable

public static implicit operator AutoCloseable(Statement t)

Parameters

t Statement

Returns

AutoCloseable

implicit operator Wrapper(Statement)

Converter from Statement to Wrapper

public static implicit operator Wrapper(Statement t)

Parameters

t Statement

Returns

Wrapper