クラス AutoUpdateExecutor


  • public class AutoUpdateExecutor
    extends Object
    更新を行うSQLを自動生成するクエリを実行します。 AutoUpdateImplのクエリ実行処理の移譲先です。
    作成者:
    T.TSUCHIE
    • コンストラクタの詳細

      • AutoUpdateExecutor

        public AutoUpdateExecutor​(AutoUpdateImpl<?> query)
        組み立てたクエリ情報を指定するコンストラクタ。
        パラメータ:
        query - クエリ情報
    • メソッドの詳細

      • execute

        public int execute()
        更新処理を実行します。
        戻り値:
        更新したレコード件数です。更新対象のプロパティ(カラム)がない場合は 0 を返します。
        例外:
        org.springframework.dao.OptimisticLockingFailureException - 楽観的排他制御を行う場合に該当するレコードが存在しない場合にスローされます。