Table of Contents

Class PreparedStatement

Namespace
Java.Sql
Assembly
MASES.JNet.dll
public class PreparedStatement : Statement, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IPreparedStatement, IStatement
Inheritance
JVMBridgeBase
JVMBridgeBase<Statement>
PreparedStatement
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

PreparedStatement()

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

[Obsolete("PreparedStatement 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 PreparedStatement()

PreparedStatement(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("PreparedStatement 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 PreparedStatement(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

MetaData

public ResultSetMetaData MetaData { get; }

Property Value

ResultSetMetaData

ParameterMetaData

public ParameterMetaData ParameterMetaData { get; }

Property Value

ParameterMetaData

Methods

AddBatch()

public void AddBatch()

Exceptions

SQLException

ClearParameters()

public void ClearParameters()

Exceptions

SQLException

Execute()

public bool Execute()

Returns

bool

bool

Exceptions

SQLException

ExecuteLargeUpdate()

public long ExecuteLargeUpdate()

Returns

long

long

Exceptions

SQLException

ExecuteQuery()

public ResultSet ExecuteQuery()

Returns

ResultSet

ResultSet

Exceptions

SQLException

ExecuteUpdate()

public int ExecuteUpdate()

Returns

int

int

Exceptions

SQLException

SetArray(int, Array)

public void SetArray(int arg0, Array arg1)

Parameters

arg0 int

int

arg1 Array

Array

Exceptions

SQLException

SetAsciiStream(int, InputStream)

public void SetAsciiStream(int arg0, InputStream arg1)

Parameters

arg0 int

int

arg1 InputStream

InputStream

Exceptions

SQLException

SetAsciiStream(int, InputStream, int)

public void SetAsciiStream(int arg0, InputStream arg1, int arg2)

Parameters

arg0 int

int

arg1 InputStream

InputStream

arg2 int

int

Exceptions

SQLException

SetAsciiStream(int, InputStream, long)

public void SetAsciiStream(int arg0, InputStream arg1, long arg2)

Parameters

arg0 int

int

arg1 InputStream

InputStream

arg2 long

long

Exceptions

SQLException

SetBigDecimal(int, BigDecimal)

public void SetBigDecimal(int arg0, BigDecimal arg1)

Parameters

arg0 int

int

arg1 BigDecimal

BigDecimal

Exceptions

SQLException

SetBinaryStream(int, InputStream)

public void SetBinaryStream(int arg0, InputStream arg1)

Parameters

arg0 int

int

arg1 InputStream

InputStream

Exceptions

SQLException

SetBinaryStream(int, InputStream, int)

public void SetBinaryStream(int arg0, InputStream arg1, int arg2)

Parameters

arg0 int

int

arg1 InputStream

InputStream

arg2 int

int

Exceptions

SQLException

SetBinaryStream(int, InputStream, long)

public void SetBinaryStream(int arg0, InputStream arg1, long arg2)

Parameters

arg0 int

int

arg1 InputStream

InputStream

arg2 long

long

Exceptions

SQLException

SetBlob(int, InputStream)

public void SetBlob(int arg0, InputStream arg1)

Parameters

arg0 int

int

arg1 InputStream

InputStream

Exceptions

SQLException

SetBlob(int, InputStream, long)

public void SetBlob(int arg0, InputStream arg1, long arg2)

Parameters

arg0 int

int

arg1 InputStream

InputStream

arg2 long

long

Exceptions

SQLException

SetBlob(int, Blob)

public void SetBlob(int arg0, Blob arg1)

Parameters

arg0 int

int

arg1 Blob

Blob

Exceptions

SQLException

SetBoolean(int, bool)

public void SetBoolean(int arg0, bool arg1)

Parameters

arg0 int

int

arg1 bool

bool

Exceptions

SQLException

SetByte(int, byte)

public void SetByte(int arg0, byte arg1)

Parameters

arg0 int

int

arg1 byte

byte

Exceptions

SQLException

SetBytes(int, byte[])

public void SetBytes(int arg0, byte[] arg1)

Parameters

arg0 int

int

arg1 byte[]

byte

Exceptions

SQLException

SetCharacterStream(int, Reader)

public void SetCharacterStream(int arg0, Reader arg1)

Parameters

arg0 int

int

arg1 Reader

Reader

Exceptions

SQLException

SetCharacterStream(int, Reader, int)

public void SetCharacterStream(int arg0, Reader arg1, int arg2)

Parameters

arg0 int

int

arg1 Reader

Reader

arg2 int

int

Exceptions

SQLException

SetCharacterStream(int, Reader, long)

public void SetCharacterStream(int arg0, Reader arg1, long arg2)

Parameters

arg0 int

int

arg1 Reader

Reader

arg2 long

long

Exceptions

SQLException

SetClob(int, Reader)

public void SetClob(int arg0, Reader arg1)

Parameters

arg0 int

int

arg1 Reader

Reader

Exceptions

SQLException

SetClob(int, Reader, long)

public void SetClob(int arg0, Reader arg1, long arg2)

Parameters

arg0 int

int

arg1 Reader

Reader

arg2 long

long

Exceptions

SQLException

SetClob(int, Clob)

public void SetClob(int arg0, Clob arg1)

Parameters

arg0 int

int

arg1 Clob

Clob

Exceptions

SQLException

SetDate(int, Date)

public void SetDate(int arg0, Date arg1)

Parameters

arg0 int

int

arg1 Date

Date

Exceptions

SQLException

SetDate(int, Date, Calendar)

public void SetDate(int arg0, Date arg1, Calendar arg2)

Parameters

arg0 int

int

arg1 Date

Date

arg2 Calendar

Calendar

Exceptions

SQLException

SetDouble(int, double)

public void SetDouble(int arg0, double arg1)

Parameters

arg0 int

int

arg1 double

double

Exceptions

SQLException

SetFloat(int, float)

public void SetFloat(int arg0, float arg1)

Parameters

arg0 int

int

arg1 float

float

Exceptions

SQLException

SetInt(int, int)

public void SetInt(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Exceptions

SQLException

SetLong(int, long)

public void SetLong(int arg0, long arg1)

Parameters

arg0 int

int

arg1 long

long

Exceptions

SQLException

SetNCharacterStream(int, Reader)

public void SetNCharacterStream(int arg0, Reader arg1)

Parameters

arg0 int

int

arg1 Reader

Reader

Exceptions

SQLException

SetNCharacterStream(int, Reader, long)

public void SetNCharacterStream(int arg0, Reader arg1, long arg2)

Parameters

arg0 int

int

arg1 Reader

Reader

arg2 long

long

Exceptions

SQLException

SetNClob(int, Reader)

public void SetNClob(int arg0, Reader arg1)

Parameters

arg0 int

int

arg1 Reader

Reader

Exceptions

SQLException

SetNClob(int, Reader, long)

public void SetNClob(int arg0, Reader arg1, long arg2)

Parameters

arg0 int

int

arg1 Reader

Reader

arg2 long

long

Exceptions

SQLException

SetNClob(int, NClob)

public void SetNClob(int arg0, NClob arg1)

Parameters

arg0 int

int

arg1 NClob

NClob

Exceptions

SQLException

SetNString(int, String)

public void SetNString(int arg0, String arg1)

Parameters

arg0 int

int

arg1 String

String

Exceptions

SQLException

SetNull(int, int)

public void SetNull(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Exceptions

SQLException

SetNull(int, int, String)

public void SetNull(int arg0, int arg1, String arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 String

String

Exceptions

SQLException

SetObject(int, object)

public void SetObject(int arg0, object arg1)

Parameters

arg0 int

int

arg1 object

object

Exceptions

SQLException

SetObject(int, object, SQLType)

public void SetObject(int arg0, object arg1, SQLType arg2)

Parameters

arg0 int

int

arg1 object

object

arg2 SQLType

SQLType

Exceptions

SQLException

SetObject(int, object, SQLType, int)

public void SetObject(int arg0, object arg1, SQLType arg2, int arg3)

Parameters

arg0 int

int

arg1 object

object

arg2 SQLType

SQLType

arg3 int

int

Exceptions

SQLException

SetObject(int, object, int)

public void SetObject(int arg0, object arg1, int arg2)

Parameters

arg0 int

int

arg1 object

object

arg2 int

int

Exceptions

SQLException

SetObject(int, object, int, int)

public void SetObject(int arg0, object arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 object

object

arg2 int

int

arg3 int

int

Exceptions

SQLException

SetRef(int, Ref)

public void SetRef(int arg0, Ref arg1)

Parameters

arg0 int

int

arg1 Ref

Ref

Exceptions

SQLException

SetRowId(int, RowId)

public void SetRowId(int arg0, RowId arg1)

Parameters

arg0 int

int

arg1 RowId

RowId

Exceptions

SQLException

SetSQLXML(int, SQLXML)

public void SetSQLXML(int arg0, SQLXML arg1)

Parameters

arg0 int

int

arg1 SQLXML

SQLXML

Exceptions

SQLException

SetShort(int, short)

public void SetShort(int arg0, short arg1)

Parameters

arg0 int

int

arg1 short

short

Exceptions

SQLException

SetString(int, String)

public void SetString(int arg0, String arg1)

Parameters

arg0 int

int

arg1 String

String

Exceptions

SQLException

SetTime(int, Time)

public void SetTime(int arg0, Time arg1)

Parameters

arg0 int

int

arg1 Time

Time

Exceptions

SQLException

SetTime(int, Time, Calendar)

public void SetTime(int arg0, Time arg1, Calendar arg2)

Parameters

arg0 int

int

arg1 Time

Time

arg2 Calendar

Calendar

Exceptions

SQLException

SetTimestamp(int, Timestamp)

public void SetTimestamp(int arg0, Timestamp arg1)

Parameters

arg0 int

int

arg1 Timestamp

Timestamp

Exceptions

SQLException

SetTimestamp(int, Timestamp, Calendar)

public void SetTimestamp(int arg0, Timestamp arg1, Calendar arg2)

Parameters

arg0 int

int

arg1 Timestamp

Timestamp

arg2 Calendar

Calendar

Exceptions

SQLException

SetURL(int, URL)

public void SetURL(int arg0, URL arg1)

Parameters

arg0 int

int

arg1 URL

URL

Exceptions

SQLException