@Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) @Documented public @interface Modifying
Query annotation). It's not applied on custom implementation methods as they already have control over the
underlying data access APIs.Query| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
clearAutomatically
Defines whether we should clear the underlying persistence context after executing the modifying query.
|
boolean |
flushAutomatically
Defines whether we should flush the underlying persistence context before executing the modifying query.
|
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.