|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.util.sql.PreparedStatementUtil
public abstract class PreparedStatementUtil
PreparedStatement用のユーティリティクラスです。
| コンストラクタの概要 | |
|---|---|
PreparedStatementUtil()
|
|
| メソッドの概要 | |
|---|---|
static void |
addBatch(PreparedStatement ps)
バッチを追加します。 |
static boolean |
execute(PreparedStatement ps)
実行します。 |
static int[] |
executeBatch(PreparedStatement ps)
バッチ更新を行ないます。 |
static ResultSet |
executeQuery(PreparedStatement ps)
クエリを実行します。 |
static int |
executeUpdate(PreparedStatement ps)
更新を実行します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public PreparedStatementUtil()
| メソッドの詳細 |
|---|
public static ResultSet executeQuery(PreparedStatement ps)
throws SQLRuntimeException
ps - PreparedStatement。nullであってはいけません
ResultSet
SQLRuntimeException - SQLExceptionが発生した場合
public static int executeUpdate(PreparedStatement ps)
throws SQLRuntimeException
ps - PreparedStatement。nullであってはいけません
SQLRuntimeException - SQLExceptionが発生した場合
public static boolean execute(PreparedStatement ps)
throws SQLRuntimeException
ps - PreparedStatement。nullであってはいけません
SQLRuntimeException - SQLExceptionが発生した場合PreparedStatement.execute()
public static int[] executeBatch(PreparedStatement ps)
throws SQLRuntimeException
ps - PreparedStatement。nullであってはいけません
SQLRuntimeException - SQLExceptionが発生した場合
public static void addBatch(PreparedStatement ps)
throws SQLRuntimeException
ps - PreparedStatement。nullであってはいけません
SQLRuntimeException - SQLExceptionが発生した場合
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||