|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.sql.Sql.AbstractQueryCommand groovy.sql.Sql.PreparedQueryCommand
protected final class Sql.PreparedQueryCommand
Field Summary |
---|
Fields inherited from class groovy.sql.Sql.AbstractQueryCommand |
---|
sql, statement |
Method Summary | |
---|---|
protected java.sql.ResultSet |
runQuery(java.sql.Connection connection)
Perform the query. |
Methods inherited from class groovy.sql.Sql.AbstractQueryCommand |
---|
closeResources, closeResources |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 use
java.sql.SQLException
- if a database error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |