public class LdiPreparedStatementUtil extends Object
PreparedStatement用のユーティリティクラスです。| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
LdiPreparedStatementUtil()
インスタンスを構築します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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)
更新を実行します。
|
public static ResultSet executeQuery(PreparedStatement ps) throws SQLRuntimeException
ps - ResultSetSQLRuntimeException - SQLExceptionが発生した場合public static int executeUpdate(PreparedStatement ps) throws SQLRuntimeException
ps - SQLRuntimeException - SQLExceptionが発生した場合public static boolean execute(PreparedStatement ps) throws SQLRuntimeException
ps - SQLRuntimeException - SQLExceptionが発生した場合PreparedStatement.execute()public static int[] executeBatch(PreparedStatement ps) throws SQLRuntimeException
ps - SQLRuntimeException - SQLExceptionが発生した場合public static void addBatch(PreparedStatement ps) throws SQLRuntimeException
ps - SQLRuntimeException - SQLExceptionが発生した場合Copyright © 2015 The DBFlute Project. All rights reserved.