|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.ObjectMappingSqlQuery
jp.terasoluna.fw.web.struts.action.DBMessageBeanMappingSqlQuery
public class DBMessageBeanMappingSqlQuery
DBから取得した行をDBMessageBeanインスタンスに詰め替えて返すメソッドを 実装したMappingSqlQuery実装クラス。
DBMessageBean,
MessageResourcesDAOImpl| フィールドの概要 | |
|---|---|
private static java.lang.String |
DB_MESSAGE_BEAN_MAPPING_SQL_QUERY
SQLの設定に誤りが見られる場合をあらわすエラーコード |
private static Log |
log
ログクラス。 |
| コンストラクタの概要 | |
|---|---|
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に詰め替えて返す。 |
| クラス 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 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
rs - 行rowNum - 処理している行番号
java.sql.SQLException - 設定されたSQLが誤っていた場合
protected DBMessageBean createDBMessageBean(java.sql.ResultSet rs)
throws java.sql.SQLException
rs - 行
java.sql.SQLException - 設定されたSQLが誤っていた場合
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||