com.JRcServer.sql.operation.core
クラス PreparedSQLBuffer

java.lang.Object
  上位を拡張 com.JRcServer.sql.operation.core.PreparedSQLBase
      上位を拡張 com.JRcServer.sql.operation.core.PreparedSQLBuffer
すべての実装されたインタフェース:
PreparedSQL

public class PreparedSQLBuffer
extends PreparedSQLBase
implements PreparedSQL

SQL準備モード実行.

SQL文を準備モードに実施する場合に処理を行います.

導入されたバージョン:
JDK 1.3
バージョン:
1.0.0 2003/11/17
作成者:
masahito suzuki

メソッドの概要
 void execution()
          SQL実行.
 void setSentence(java.lang.String sql)
          SQL文設定.
 
クラス com.JRcServer.sql.operation.core.PreparedSQLBase から継承されたメソッド
addParameter, addParameterByNull, executeUpdate, getResult, setSQLTypes
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース com.JRcServer.sql.operation.PreparedSQL から継承されたメソッド
addParameter, addParameterByNull, executeUpdate, getResult, setSQLTypes
 

メソッドの詳細

setSentence

public void setSentence(java.lang.String sql)
                 throws InputException,
                        SQLAccessException
SQL文設定.

実行対象のSQL文を実施します.

定義:
インタフェース PreparedSQL 内の setSentence
定義:
クラス PreparedSQLBase 内の setSentence
パラメータ:
sql - 準備モードにおける実施対象のSQL文を設定します.
例外:
InputException - 入力例外.
SQLAccessException - SQLアクセス例外.

execution

public void execution()
               throws SQLAccessException,
                      SQLParameterException
SQL実行.

準備されたSQL文を実行します.

定義:
インタフェース PreparedSQL 内の execution
定義:
クラス PreparedSQLBase 内の execution
例外:
SQLAccessException - SQLアクセス例外.
SQLParameterException - SQLパラメータ例外.