|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.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
public class DBMessageBeanMappingSqlQuery
DBから取得した行をDBMessageBeanインスタンスに詰め替えて返すメソッドを 実装したMappingSqlQuery実装クラス。
DBMessageBean
,
MessageResourcesDAOImpl
入れ子のクラスの概要 |
---|
クラス org.springframework.jdbc.object.MappingSqlQueryWithParameters から継承された入れ子のクラス/インタフェース |
---|
org.springframework.jdbc.object.MappingSqlQueryWithParameters.RowMapperImpl |
フィールドの概要 | |
---|---|
private static java.lang.String |
DB_MESSAGE_BEAN_MAPPING_SQL_QUERY
SQLの設定に誤りが見られる場合をあらわすエラーコード |
private static org.apache.commons.logging.Log |
log
ログクラス。 |
クラス org.springframework.jdbc.object.RdbmsOperation から継承されたフィールド |
---|
logger |
コンストラクタの概要 | |
---|---|
DBMessageBeanMappingSqlQuery(javax.sql.DataSource dataSource,
java.lang.String sql)
コンストラクタ。 |
メソッドの概要 | |
---|---|
protected DBMessageBean |
createDBMessageBean(java.sql.ResultSet rs)
行をDBMessageBeanに詰め替えて返す。 |
protected DBMessageBean |
mapRow(java.sql.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 |
フィールドの詳細 |
---|
private static final java.lang.String DB_MESSAGE_BEAN_MAPPING_SQL_QUERY
private static org.apache.commons.logging.Log log
コンストラクタの詳細 |
---|
DBMessageBeanMappingSqlQuery(javax.sql.DataSource dataSource, java.lang.String sql)
dataSource
- データソースsql
- SQLメソッドの詳細 |
---|
protected DBMessageBean mapRow(java.sql.ResultSet rs, int rowNum) throws java.sql.SQLException
org.springframework.jdbc.object.MappingSqlQuery
内の mapRow
rs
- 行rowNum
- 処理している行番号
java.sql.SQLException
- 設定されたSQLが誤っていた場合protected DBMessageBean createDBMessageBean(java.sql.ResultSet rs) throws java.sql.SQLException
rs
- 行
java.sql.SQLException
- 設定されたSQLが誤っていた場合
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |