|
Groovy 1.7.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.sql.Sql.AbstractQueryCommand
class Sql.AbstractQueryCommand
| Field Summary | |
|---|---|
protected String |
sql
|
protected Statement |
statement
|
| Constructor Summary | |
Sql.AbstractQueryCommand(String sql)
|
|
| 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. |
ResultSet
|
execute()
Execute the command that's defined by the subclass following the Command pattern. |
protected ResultSet
|
runQuery(Connection connection)
Perform the query. |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
| Field Detail |
|---|
protected final String sql
protected Statement statement
| Constructor Detail |
|---|
public Sql.AbstractQueryCommand(String sql)
| Method Detail |
|---|
public final void closeResources()
public final void closeResources(ResultSet rs)
public final ResultSet execute()
protected ResultSet runQuery(Connection connection)
Copyright © 2003-2009 The Codehaus. All rights reserved.