|
Groovy 1.7.8 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.sql.Sql.AbstractQueryCommand
protected abstract class Sql.AbstractQueryCommand
| Field Summary | |
|---|---|
protected String |
sql
|
protected Statement |
statement
|
| Method Summary | |
|---|---|
void
|
closeResources()
After performing the execute operation and making use of its return, it's necessary to free the resources allocated for the statement. |
void
|
closeResources(ResultSet rs)
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. |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
protected final String sql
protected Statement statement
| Method Detail |
|---|
public final void closeResources()
public final void closeResources(ResultSet rs)
rs - allows the caller to conveniently close its resource as well
protected ResultSet runQuery(Connection connection)
connection - the connection to use
Copyright © 2003-2010 The Codehaus. All rights reserved.