2005/5/9

     
 

class ODBCPreparedStatement

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::sql::odbc::ODBCPreparedStatement Class Reference

#include <ODBCPreparedStatement.h>

Inheritance diagram for acdk::sql::odbc::ODBCPreparedStatement:

acdk::sql::odbc::ODBCStatement acdk::sql::PreparedStatement acdk::lang::Object acdk::sql::Statement acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::sql::odbc::ODBCCallableStatement List of all members.

Detailed Description

API: JDBC 2.0.

Author:
Roger Rene Kommer
Version:
Revision
1.9
Date:
RDate
2003/06/19 14:37:21


Public Member Functions

 ODBCPreparedStatement (INP(RODBCConnection) conn, INP(RString) clause)
virtual RODBCStatement init (INP(acdk::util::RProperties) prop)
virtual void addBatch ()
virtual void clearParameters ()
virtual bool execute ()
virtual RResultSet executeQuery ()
virtual int executeUpdate ()
virtual RResultSetMetaData getMetaData ()
virtual void setBoolean (int parameterIndex, bool x)
virtual void setByte (int parameterIndex, byte x)
virtual void setBytes (int parameterIndex, INP(RbyteArray) x)
virtual void setDate (int parameterIndex, INP(RDate) x)
virtual void setDate (int parameterIndex, INP(RDate) x, INP(RCalendar) cal)
virtual void setDouble (int parameterIndex, double x)
 defined(ACDK_MINI)

virtual void setFloat (int parameterIndex, float x)
virtual void setInt (int parameterIndex, int x)
virtual void setLong (int parameterIndex, jlong x)
virtual void setNull (int parameterIndex, int sqlType)
virtual void setNull (int paramIndex, int sqlType, INP(RString) typeName)
virtual void setObject (int parameterIndex, INP(acdk::lang::Object) x)
virtual void setObject (int parameterIndex, INP(acdk::lang::Object) x, int targetSqlType)
virtual void setObject (int parameterIndex, INP(acdk::lang::Object) x, int targetSqlType, int scale)
virtual void setShort (int parameterIndex, short x)
virtual void setString (int parameterIndex, INP(RString) x)
virtual void setBlob (int parameterIndex, INP(RBlob) b)
virtual void setTime (int parameterIndex, INP(RTime) x)
virtual void setTime (int parameterIndex, INP(RTime) x, INP(RCalendar) cal)
virtual void setTimestamp (int parameterIndex, INP(RTimestamp) x)
virtual void setTimestamp (int parameterIndex, INP(RTimestamp) x, INP(RCalendar) cal)

Protected Attributes

RString _clause
RODBCParamArray _args


Constructor & Destructor Documentation

acdk::sql::odbc::ODBCPreparedStatement::ODBCPreparedStatement INP(RODBCConnection conn,
INP(RString clause
 


Member Function Documentation

virtual void acdk::sql::odbc::ODBCPreparedStatement::addBatch  )  [inline, virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::clearParameters  )  [virtual]
 

Todo:
implement

Implements acdk::sql::PreparedStatement.

virtual bool acdk::sql::odbc::ODBCPreparedStatement::execute  )  [virtual]
 

Implements acdk::sql::PreparedStatement.

virtual RResultSet acdk::sql::odbc::ODBCPreparedStatement::executeQuery  )  [virtual]
 

Implements acdk::sql::PreparedStatement.

virtual int acdk::sql::odbc::ODBCPreparedStatement::executeUpdate  )  [virtual]
 

Implements acdk::sql::PreparedStatement.

virtual RResultSetMetaData acdk::sql::odbc::ODBCPreparedStatement::getMetaData  )  [virtual]
 

Implements acdk::sql::PreparedStatement.

virtual RODBCStatement acdk::sql::odbc::ODBCPreparedStatement::init INP(acdk::util::RProperties prop  )  [virtual]
 

Reimplemented from acdk::sql::odbc::ODBCStatement.

Reimplemented in acdk::sql::odbc::ODBCCallableStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setBlob int  parameterIndex,
INP(RBlob b
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setBoolean int  parameterIndex,
bool  x
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setByte int  parameterIndex,
byte  x
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setBytes int  parameterIndex,
INP(RbyteArray x
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setDate int  parameterIndex,
INP(RDate x,
INP(RCalendar cal
[virtual]
 

virtual void acdk::sql::odbc::ODBCPreparedStatement::setDate int  parameterIndex,
INP(RDate x
[virtual]
 

virtual void acdk::sql::odbc::ODBCPreparedStatement::setDouble int  parameterIndex,
double  x
[virtual]
 

defined(ACDK_MINI)

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setFloat int  parameterIndex,
float  x
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setInt int  parameterIndex,
int  x
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setLong int  parameterIndex,
jlong  x
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setNull int  paramIndex,
int  sqlType,
INP(RString typeName
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setNull int  parameterIndex,
int  sqlType
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setObject int  parameterIndex,
INP(acdk::lang::Object x,
int  targetSqlType,
int  scale
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setObject int  parameterIndex,
INP(acdk::lang::Object x,
int  targetSqlType
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setObject int  parameterIndex,
INP(acdk::lang::Object x
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setShort int  parameterIndex,
short  x
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setString int  parameterIndex,
INP(RString x
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setTime int  parameterIndex,
INP(RTime x,
INP(RCalendar cal
[virtual]
 

virtual void acdk::sql::odbc::ODBCPreparedStatement::setTime int  parameterIndex,
INP(RTime x
[virtual]
 

Implements acdk::sql::PreparedStatement.

virtual void acdk::sql::odbc::ODBCPreparedStatement::setTimestamp int  parameterIndex,
INP(RTimestamp x,
INP(RCalendar cal
[virtual]
 

virtual void acdk::sql::odbc::ODBCPreparedStatement::setTimestamp int  parameterIndex,
INP(RTimestamp x
[virtual]
 

Implements acdk::sql::PreparedStatement.


Member Data Documentation

RODBCParamArray acdk::sql::odbc::ODBCPreparedStatement::_args [protected]
 

RString acdk::sql::odbc::ODBCPreparedStatement::_clause [protected]