|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.argius.stu.sql.AbstractSQL
net.argius.stu.sql.UpdateSQL
汎用UPDATE文クラスです。 UPDATE文の生成、実行、値の取得を行います。
SQL
コンストラクタの概要 | |
UpdateSQL()
SQLオブジェクトを生成します。 |
|
UpdateSQL(Connection conn,
String table)
SQLオブジェクトを生成します。 |
メソッドの概要 | |
void |
clearAll()
オブジェクトの終了処理を実行します。 |
protected int |
executeQuery(PreparedStatement statement)
SQLを実行します。 |
protected String |
getSQLString()
SQL文字列を生成します。 |
protected String |
partialInfo()
オブジェクトの個別情報を取得します。 |
クラス net.argius.stu.sql.AbstractSQL から継承したメソッド |
addColumn, addColumn, addParameter, addParameter, clearColumn, clearParameter, close, embedQueryString, execute, getColumns, getDatabaseName, getParameters, getQuery, getTable, getValue, getValue, getValues, next, open, setQuery, setQueryTimeout, toString, toVerboseString |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public UpdateSQL()
public UpdateSQL(Connection conn, String table)
conn
- DBコネクションtable
- TABLE名メソッドの詳細 |
protected int executeQuery(PreparedStatement statement) throws SQLException
AbstractSQL
内の executeQuery
statement
- プリコンパイル済みステートメント
SQLException
- SQL実行エラーprotected String getSQLString()
AbstractSQL
内の getSQLString
public void clearAll()
AbstractSQL
内の clearAll
protected String partialInfo()
AbstractSQL
内の partialInfo
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |