Spring Data Jpa

org.springframework.data.jpa.repository
Annotation Type Modifying


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Documented
public @interface Modifying

Indicates a method should be regarded as modifying query.

Author:
Oliver Gierke

Optional Element Summary
 boolean clearAutomatically
          Defines whether we should clear the underlying persistence context after excuting the modifying query.
 

clearAutomatically

public abstract boolean clearAutomatically
Defines whether we should clear the underlying persistence context after excuting the modifying query.

Returns:
Default:
true

Spring Data Jpa

Copyright © 2011 SpringSource. All Rights Reserved.