@Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) @Documented public @interface Modifying
Queries that should be annotated with a @Modifying
annotation include INSERT
, UPDATE
,
DELETE
, and DDL statements. The result of these queries can be consumed as affected row count.
Copyright © 2018–2021 Pivotal Software, Inc.. All rights reserved.