org.springframework.osgi.samples.petclinic.jdbc
Class JdbcClinic.PetsQuery
java.lang.Object
org.springframework.jdbc.object.RdbmsOperation
org.springframework.jdbc.object.SqlOperation
org.springframework.jdbc.object.SqlQuery
org.springframework.jdbc.object.MappingSqlQueryWithParameters
org.springframework.jdbc.object.MappingSqlQuery
org.springframework.osgi.samples.petclinic.jdbc.JdbcClinic.PetsQuery
- All Implemented Interfaces:
- InitializingBean
- Enclosing class:
- JdbcClinic
protected class JdbcClinic.PetsQuery
- extends MappingSqlQuery
Abstract base class for all Pet
Query Objects.
Methods inherited from class org.springframework.jdbc.object.SqlQuery |
execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, executeByNamedParam, executeByNamedParam, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObject, findObjectByNamedParam, findObjectByNamedParam, getRowsExpected, setRowsExpected |
Methods inherited from class org.springframework.jdbc.object.RdbmsOperation |
afterPropertiesSet, allowsUnusedParameters, checkCompiled, compile, declareParameter, getDeclaredParameters, getGeneratedKeysColumnNames, getJdbcTemplate, getResultSetType, getSql, isCompiled, isReturnGeneratedKeys, isUpdatableResults, setDataSource, setFetchSize, setGeneratedKeysColumnNames, setJdbcTemplate, setMaxRows, setQueryTimeout, setResultSetType, setReturnGeneratedKeys, setSql, setTypes, setUpdatableResults, supportsLobParameters, validateNamedParameters, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcClinic.PetsQuery
protected JdbcClinic.PetsQuery(DataSource ds)
- Create a new instance of PetsQuery.
- Parameters:
ds
- the DataSource to use for the querysql
- SQL string to use for the query
mapRow
protected Object mapRow(ResultSet rs,
int rownum)
throws SQLException
- Specified by:
mapRow
in class MappingSqlQuery
- Throws:
SQLException
Copyright © 2006-2007 Spring Framework. All Rights Reserved.