|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.hamaf.hikyaku.access.AccessBase
public abstract class AccessBase
タイトル:AccessBase is Accessor Class base.
説明:アクセスクラス用のベースクラス。
Statement
を取得する
Statement
をクローズする
Connection
を開放する
著作権: Copyright (c) 2004/06/16
フィールドの概要 | |
---|---|
protected java.sql.Connection |
_conn
|
protected DbConnectInterface |
_DbConnect
|
protected java.sql.Statement |
_stmt
|
コンストラクタの概要 | |
---|---|
AccessBase()
|
メソッドの概要 | |
---|---|
protected void |
closeStatement()
Describe closeStatement method : close Statement. |
protected void |
destroy()
Describe destroy method : close Connection. |
protected void |
exclusion(DetailItemsInterface dii,
java.lang.String tableName)
Describe exclusion method : check exclusion. |
protected java.util.List<java.lang.String> |
getPkeys(java.lang.String tableName)
Describe pkeys method : return PrimaryKeys name. |
protected java.lang.String |
getProductName()
Describe getProductName method : get DatabaseProductName. |
protected java.sql.Statement |
getStatement()
Describe getStatement method : get DB Statement. |
protected void |
setConnection(java.lang.String param,
java.lang.String sysId)
Describe getConnection method : get DB Connection from pool. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected DbConnectInterface _DbConnect
protected java.sql.Connection _conn
protected java.sql.Statement _stmt
コンストラクタの詳細 |
---|
public AccessBase()
メソッドの詳細 |
---|
protected final void setConnection(java.lang.String param, java.lang.String sysId)
getConnection
method : get DB Connection from pool.
param
- a String
: パラメータsysId
- a String
: システムIDprotected java.sql.Statement getStatement() throws java.sql.SQLException
getStatement
method : get DB Statement.
Statement
: 生成したStatment
java.sql.SQLException
protected final void closeStatement() throws java.sql.SQLException
closeStatement
method : close Statement.
java.sql.SQLException
protected final void destroy() throws java.sql.SQLException
destroy
method : close Connection.
java.sql.SQLException
- a void
:protected final void exclusion(DetailItemsInterface dii, java.lang.String tableName) throws ExclusionException, java.sql.SQLException
exclusion
method : check exclusion.
AbstDataObj
、DaoSelectBase
を元に排他処理を行う。
dataObj
- a
: 更新を行うData Objectsb
- a String
: 更新を行うテーブル名
ExclusionException
- : 排他エラーの場合、投げる例外
java.sql.SQLException
protected final java.util.List<java.lang.String> getPkeys(java.lang.String tableName) throws java.sql.SQLException
pkeys
method : return PrimaryKeys name.
PrimaryKey のカラム名が定義順に設定される。
table
- a String
: PrimaryKey を取得するテーブル名
List
: 取得したPrimaryKey項目名の一覧
java.lang.Exception
java.sql.SQLException
protected final java.lang.String getProductName() throws java.sql.SQLException
getProductName
method : get DatabaseProductName.
String
: atabaseProductName
java.sql.SQLException
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |