Package com.blazebit.persistence.view
Annotation Type UpdatableEntityView
@Target(TYPE) @Retention(RUNTIME) public @interface UpdatableEntityView
Specifies that the class is an updatable entity view.
- Since:
- 1.1.0
- Author:
- Christian Beikov
-
Element Details
-
mode
FlushMode modeSpecifies the flush mode to use for the updatable entity view.- Returns:
- The flush mode
- Since:
- 1.2.0
- Default:
- LAZY
-
strategy
FlushStrategy strategyThe strategy to use for flushing changes to the JPA model.- Returns:
- The flush strategy
- Since:
- 1.2.0
- Default:
- QUERY
-
lockMode
LockMode lockModeThe lock mode to use for the updatable entity view.- Returns:
- The lock mode
- Since:
- 1.2.0
- Default:
- AUTO
-