protected final class Sql.PreparedQueryCommand extends Sql.AbstractQueryCommand
sql, statement| Modifier and Type | Method and Description |
|---|---|
protected java.sql.ResultSet |
runQuery(java.sql.Connection connection)
Perform the query.
|
closeResources, closeResourcesprotected java.sql.ResultSet runQuery(java.sql.Connection connection)
throws java.sql.SQLException
Sql.AbstractQueryCommandSql.AbstractQueryCommand.execute()) method can clean up.
This is the method that encloses the variant part of the code.runQuery in class Sql.AbstractQueryCommandconnection - the connection to usejava.sql.SQLException - if a database error occurs