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, closeResources
protected java.sql.ResultSet runQuery(java.sql.Connection connection) throws java.sql.SQLException
Sql.AbstractQueryCommand
Sql.AbstractQueryCommand.execute()
) method can clean up.
This is the method that encloses the variant part of the code.runQuery
in class Sql.AbstractQueryCommand
connection
- the connection to usejava.sql.SQLException
- if a database error occurs