|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.hamaf.hikyaku.access.AccessBase
com.hamaf.hikyaku.access.PreparedSqlAccess
public abstract class PreparedSqlAccess
タイトル:PreparedSqlAccess is Table Access with PreparedSql.
説明:PreparedSQL文で記述されたSQL文のファイルでテーブルアクセスを行なう
class XxxAccess extends PreparedSqlAccess { // 検索系のSQL文の場合 public PreparedItems findAbc(PreparedItems pi) throws IOException,SQLException { // XxxAccess_findAbc.sqlに記述されているSQLが実行される return super.find(pi); } // 更新系のSQL文の場合 public void updateXyz(PreparedItems pi) throws IOException,SQLException { // XxxAccess_updateXyz.sqlに記述されているSQLが実行される super.update(pi); } }
著作権: Copyright (c) 2008/06/17
フィールドの概要 | |
---|---|
protected boolean |
_debug
|
protected java.lang.String |
connectionParameter
|
クラス com.hamaf.hikyaku.access.AccessBase から継承されたフィールド |
---|
_conn, _DbConnect, _stmt |
コンストラクタの概要 | |
---|---|
PreparedSqlAccess()
|
メソッドの概要 | |
---|---|
protected PreparedItems |
find(PreparedItems pi)
Describe find method : . |
protected PreparedItems |
find(PreparedItems pi,
java.lang.String path)
Describe find method : . |
void |
setConnectionParameter(java.lang.String connectionParameter)
|
void |
setDebug()
|
protected void |
update(PreparedItems pi)
Describe update method : . |
protected void |
update(PreparedItems pi,
java.lang.String path)
Describe update method : . |
クラス com.hamaf.hikyaku.access.AccessBase から継承されたメソッド |
---|
closeStatement, destroy, exclusion, getPkeys, getProductName, getStatement, setConnection |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.lang.String connectionParameter
protected boolean _debug
コンストラクタの詳細 |
---|
public PreparedSqlAccess()
メソッドの詳細 |
---|
protected final PreparedItems find(PreparedItems pi) throws java.io.IOException, java.sql.SQLException
find
method : .
pi
- a PreparedItems
:
PreparedItems
:
java.io.IOException
java.sql.SQLException
protected final PreparedItems find(PreparedItems pi, java.lang.String path) throws java.io.IOException, java.sql.SQLException
find
method : .
pi
- a PreparedItems
:path
- a String
: SQLのファイルがあるフォルダー
PreparedItems
:
java.io.IOException
java.sql.SQLException
protected final void update(PreparedItems pi) throws java.io.IOException, java.sql.SQLException
update
method : .
pi
- a PreparedItems
:
java.io.IOException
java.sql.SQLException
protected final void update(PreparedItems pi, java.lang.String path) throws java.io.IOException, java.sql.SQLException
update
method : .
pi
- a PreparedItems
:path
- a String
: SQLのファイルがあるフォルダー
java.io.IOException
java.sql.SQLException
public final void setDebug()
debug
- debug を設定します。public final void setConnectionParameter(java.lang.String connectionParameter)
connectionParameter
- connectionParameter を設定します。
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |