jp.terasoluna.fw.web.struts.action
クラス DBMessageBeanMappingSqlQuery

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
                      上位を拡張 jp.terasoluna.fw.web.struts.action.DBMessageBeanMappingSqlQuery
すべての実装されたインタフェース:
org.springframework.beans.factory.InitializingBean

public class DBMessageBeanMappingSqlQuery
extends org.springframework.jdbc.object.MappingSqlQuery

DBから取得した行をDBMessageBeanインスタンスに詰め替えて返すメソッドを 実装したMappingSqlQuery実装クラス。

関連項目:
DBMessageBean, MessageResourcesDAOImpl

入れ子のクラスの概要
 
クラス org.springframework.jdbc.object.MappingSqlQueryWithParameters から継承された入れ子のクラス/インタフェース
org.springframework.jdbc.object.MappingSqlQueryWithParameters.RowMapperImpl
 
フィールドの概要
 
クラス org.springframework.jdbc.object.RdbmsOperation から継承されたフィールド
logger
 
メソッドの概要
protected  DBMessageBean createDBMessageBean(ResultSet rs)
          行をDBMessageBeanに詰め替えて返す。
protected  DBMessageBean mapRow(ResultSet rs, int rowNum)
          行をDBMessageBeanに詰め替えて返す。
 
クラス org.springframework.jdbc.object.MappingSqlQuery から継承されたメソッド
mapRow
 
クラス org.springframework.jdbc.object.MappingSqlQueryWithParameters から継承されたメソッド
newRowMapper
 
クラス 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
 
クラス org.springframework.jdbc.object.SqlOperation から継承されたメソッド
compileInternal, getParsedSql, newPreparedStatementCreator, newPreparedStatementCreator, newPreparedStatementSetter, onCompileInternal
 
クラス org.springframework.jdbc.object.RdbmsOperation から継承されたメソッド
afterPropertiesSet, allowsUnusedParameters, checkCompiled, compile, declareParameter, getDeclaredParameters, getGeneratedKeysColumnNames, getJdbcTemplate, getResultSetType, getSql, isCompiled, isReturnGeneratedKeys, isUpdatableResults, setDataSource, setFetchSize, setGeneratedKeysColumnNames, setJdbcTemplate, setMaxRows, setParameters, setQueryTimeout, setResultSetType, setReturnGeneratedKeys, setSql, setTypes, setUpdatableResults, supportsLobParameters, validateNamedParameters, validateParameters
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

mapRow

protected DBMessageBean mapRow(ResultSet rs,
                               int rowNum)
                        throws SQLException
行をDBMessageBeanに詰め替えて返す。

定義:
クラス org.springframework.jdbc.object.MappingSqlQuery 内の mapRow
パラメータ:
rs - 行
rowNum - 処理している行番号
戻り値:
行から詰め替えられたDBMessageBean
例外:
SQLException - 設定されたSQLが誤っていた場合

createDBMessageBean

protected DBMessageBean createDBMessageBean(ResultSet rs)
                                     throws SQLException
行をDBMessageBeanに詰め替えて返す。

パラメータ:
rs - 行
戻り値:
行から詰め替えられたDBMessageBean
例外:
SQLException - 設定されたSQLが誤っていた場合


Copyright © 2012. All Rights Reserved.