Where Am I? Class Hierarchy All Classes All Fields and Methods

Class com.ibm.ivj.db.uibeans.Statement

java.lang.Object
   |
   +----com.ibm.ivj.db.uibeans.Statement

public abstract class Statement
extends Object
implements Serializable, DatabaseConnectionAfterListener, DatabaseConnectionBeforeListener

Statement is the abstract super class for data access beans. Data access beans allow you to access data in a relational database using JDBC.

Version:
1.0 06/30/98
See Also:
Select

Constructor Index

Statement()
Constructs a new Statement.

Method Index

getDatabaseConnection()
Returns the associated com.ibm.db.DatabaseConnection that contains the specifications for the connection.
setDatabaseConnection(DatabaseConnection)
Associates a com.ibm.db.DatabaseConnection with this Statement.

Constructors

Statement
 public Statement()
Constructs a new Statement.


Methods

getDatabaseConnection
 public DatabaseConnection getDatabaseConnection()
Returns the associated com.ibm.db.DatabaseConnection that contains the specifications for the connection.

Returns:
the associated DatabaseConnection
See Also:
setDatabaseConnection, DatabaseConnection
setDatabaseConnection
 public void setDatabaseConnection(DatabaseConnection connection)
Associates a com.ibm.db.DatabaseConnection with this Statement.

Parameters:
connection - the associated DatabaseConnection
See Also:
getDatabaseConnection, DatabaseConnection

Where Am I? Class Hierarchy All Classes All Fields and Methods