クラス
org.seasar.framework.exception.SQLRuntimeException の使用

SQLRuntimeException を使用しているパッケージ
org.seasar.framework.util org.seasar.frameworkに対するユーティリティ機能を提供します。 
 

org.seasar.framework.util での SQLRuntimeException の使用
 

SQLRuntimeException をスローする org.seasar.framework.util のメソッド
static boolean StatementUtil.execute(Statement statement, String sql)
          SQLを実行します。
static void StatementUtil.setFetchSize(Statement statement, int fetchSize)
          フェッチサイズを設定します。
static void StatementUtil.setMaxRows(Statement statement, int maxRows)
          最大行数を設定します。
static void StatementUtil.setQueryTimeout(Statement statement, int queryTimeout)
          クエリタイムアウトを設定します。
static void StatementUtil.close(Statement statement)
          Statementを閉じます。
static void ResultSetUtil.close(ResultSet resultSet)
          ResultSet.close()を呼び出します。
static ResultSet PreparedStatementUtil.executeQuery(PreparedStatement ps)
          クエリを実行します。
static int PreparedStatementUtil.executeUpdate(PreparedStatement ps)
          更新を実行します。
static int[] PreparedStatementUtil.executeBatch(PreparedStatement ps)
          バッチ更新を行ないます。
static void PreparedStatementUtil.addBatch(PreparedStatement ps)
          バッチを追加します。
 



Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.