インタフェースの使用
com.github.mygreen.sqlmapper.core.query.auto.AutoBatchUpdate
-
AutoBatchUpdateを使用しているパッケージ パッケージ 説明 com.github.mygreen.sqlmapper.core SQLとPOJOをマッピングする機能を提供します。com.github.mygreen.sqlmapper.core.query.auto SQLの自動生成によるクエリ機能を提供します。 -
-
com.github.mygreen.sqlmapper.coreでのAutoBatchUpdateの使用
AutoBatchUpdateを返すcom.github.mygreen.sqlmapper.coreのメソッド 修飾子とタイプ メソッド 説明 <T> AutoBatchUpdate<T>SqlMapper. deleteBatch(Collection<T> entities)SQLを自動生成してバッチ削除します。<T> AutoBatchUpdate<T>SqlMapper. deleteBatch(T... entities)SQLを自動生成してバッチ削除します。<T> AutoBatchUpdate<T>SqlMapper. updateBatch(List<T> entities)SQLを自動生成してバッチ更新します。<T> AutoBatchUpdate<T>SqlMapper. updateBatch(T... entities)SQLを自動生成してバッチ更新します。 -
com.github.mygreen.sqlmapper.core.query.autoでのAutoBatchUpdateの使用
AutoBatchUpdateを実装しているcom.github.mygreen.sqlmapper.core.query.autoのクラス 修飾子とタイプ クラス 説明 classAutoBatchUpdateImpl<T>バッチ更新を行うSQLを自動生成するクエリの実装です。AutoBatchUpdateを返すcom.github.mygreen.sqlmapper.core.query.autoのメソッド 修飾子とタイプ メソッド 説明 AutoBatchUpdate<T>AutoBatchUpdate. excludes(PropertyPath<?>... properties)指定のプロパティを更新対象から除外します。AutoBatchUpdate<T>AutoBatchUpdate. includes(PropertyPath<?>... properties)指定のプロパティのみを挿入対象とします。AutoBatchUpdate<T>AutoBatchUpdate. includesVersion()バージョンプロパティを通常の更新対象に含め、バージョンチェックの対象外とします。AutoBatchUpdate<T>AutoBatchUpdate. suppresOptimisticLockException()バージョンチェックを行った場合に、更新行数が0行でもOptimisticLockingFailureExceptionをスローしないようにします。
-