| Constructor and description |
|---|
protected Sql.AbstractQueryCommand
(String sql) |
| Type | Name and description |
|---|---|
protected void |
closeResources()Perform the query. |
protected void |
closeResources(ResultSet rs) |
protected ResultSet |
execute()After performing the execute operation and making use of its return, it's necessary to free the resources allocated for the statement. |
protected ResultSet |
runQuery(Connection connection) |
Perform the query. Must set statement field so that the main (execute()) method can clean up. This is the method that encloses the variant part of the code.
connection - the connection to useAfter performing the execute operation and making use of its return, it's necessary to free the resources allocated for the statement.
rs - allows the caller to conveniently close its resource as wellCopyright © 2003-2014 The Codehaus. All rights reserved.