org.springframework.osgi.samples.petclinic.jdbc
Class JdbcClinic.PetTypesQuery

java.lang.Object
  extended by org.springframework.jdbc.object.RdbmsOperation
      extended by org.springframework.jdbc.object.SqlOperation
          extended by org.springframework.jdbc.object.SqlQuery
              extended by org.springframework.jdbc.object.MappingSqlQueryWithParameters
                  extended by org.springframework.jdbc.object.MappingSqlQuery
                      extended by org.springframework.osgi.samples.petclinic.jdbc.JdbcClinic.PetTypesQuery
All Implemented Interfaces:
InitializingBean
Enclosing class:
JdbcClinic

protected class JdbcClinic.PetTypesQuery
extends MappingSqlQuery


Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.jdbc.object.MappingSqlQueryWithParameters
MappingSqlQueryWithParameters.RowMapperImpl
 
Field Summary
 
Fields inherited from class org.springframework.jdbc.object.RdbmsOperation
logger
 
Constructor Summary
protected JdbcClinic.PetTypesQuery(DataSource ds)
          Create a new instance of PetTypesQuery.
 
Method Summary
protected  Object mapRow(ResultSet rs, int rownum)
           
 
Methods inherited from class org.springframework.jdbc.object.MappingSqlQuery
mapRow
 
Methods inherited from class org.springframework.jdbc.object.MappingSqlQueryWithParameters
newRowMapper
 
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.SqlOperation
compileInternal, getParsedSql, newPreparedStatementCreator, newPreparedStatementCreator, newPreparedStatementSetter, onCompileInternal
 
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
 

Constructor Detail

JdbcClinic.PetTypesQuery

protected JdbcClinic.PetTypesQuery(DataSource ds)
Create a new instance of PetTypesQuery.

Parameters:
ds - the DataSource to use for the query
Method Detail

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.