dsql
Class ConnectStmt
java.lang.Object
dsql.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)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ConnectStmt
public ConnectStmt(java.sql.Connection _conn)
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()