|
iiitToolkit 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.iiit.jdbc.JdbcStatement
Encapsulates a java.sql.Statement
Constructor Summary | |
protected |
JdbcStatement(JdbcConnection connection,
Statement statement)
Creates a new instance of JdbcStatement |
Method Summary | |
void |
close()
Releases this Statement object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed. |
boolean |
execute(String sql)
Executes the given SQL statement, which may return multiple results. |
protected void |
finalize()
Release the JdbcConnection hold by this object explicitly. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected JdbcStatement(JdbcConnection connection, Statement statement)
connection
- the connection that was used to create the meta data object.statement
- the encapsulated java.sql.StatementMethod Detail |
public boolean execute(String sql) throws JdbcException
sql
- any SQL statement
JdbcException
- if a database access error occurspublic void close() throws JdbcException
JdbcException
- if a database access error occursprotected void finalize() throws Throwable
finalize
in class Object
Throwable
- Any throwable thrown during the excution.
|
iiitToolkit 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |