dsql
Class ConnectStmt

java.lang.Object
  extended bydsql.ConnectStmt

public class ConnectStmt
extends java.lang.Object

Wrapper around an SQL connection object to store its associated statements.


Constructor Summary
ConnectStmt(java.sql.Connection _conn)
           
 
Method Summary
 java.sql.Statement addStatement()
           
 java.sql.Statement addStatement(int scroll, int concur)
           
 java.sql.Statement addStatement(java.sql.Statement stmt)
           
 boolean equals(java.lang.Object obj)
           
 java.sql.Connection getConnection()
           
 java.util.Vector getStatements()
           
 int hashCode()
           
 boolean hasStatement(java.sql.Statement stmt)
           
 boolean hasStatements()
           
 void removeStatement(java.sql.Statement stmt)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectStmt

public ConnectStmt(java.sql.Connection _conn)
Method Detail

getConnection

public java.sql.Connection getConnection()

getStatements

public java.util.Vector getStatements()

hasStatements

public boolean hasStatements()

addStatement

public java.sql.Statement addStatement()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

addStatement

public java.sql.Statement addStatement(int scroll,
                                       int concur)
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

addStatement

public java.sql.Statement addStatement(java.sql.Statement stmt)

removeStatement

public void removeStatement(java.sql.Statement stmt)

hasStatement

public boolean hasStatement(java.sql.Statement stmt)

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()