|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.sql.Sql.AbstractQueryCommand
groovy.sql.Sql.QueryCommand
protected final class Sql.QueryCommand
Field Summary |
---|
Fields inherited from class groovy.sql.Sql.AbstractQueryCommand |
---|
sql, statement |
Method Summary | |
---|---|
protected ResultSet |
runQuery(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 ResultSet runQuery(Connection connection) throws 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
SQLException
- if a database error occurs
|
Copyright © 2003-2009 The Codehaus. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |