| java.lang.Object org.gomba.Query
Query | class Query (Code) | | Represents a JDBC query.
author: Flavio Tordini version: $Id: Query.java,v 1.7 2005/01/10 11:07:06 flaviotordini Exp $ |
Inner Class :final static class QueryResult | |
execute | final public QueryResult execute(Connection connection) throws SQLException(Code) | | Execute this query. The query may return a resultset or an update count.
In other words, it may read from the db or write to it.
Parameters: dataSource - The JDBC data source to query. A QueryResult object that wraps a ResultSet. Ifthe skip value is greater than 0, the resulsetrows are skipped. If the query is write operationnull is returned. throws: SQLException - |
getStatementParameters | protected List getStatementParameters()(Code) | | Returns the statementParameters. |
|
|