Package org.apache.openjpa.meta
Class UpdateStrategies
java.lang.Object
org.apache.openjpa.meta.UpdateStrategies
Strategies for persistent value updates.
- Since:
- 0.4.0
- Author:
- Abe White
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
NONE
public static final int NONENo update strategy.- See Also:
-
IGNORE
public static final int IGNOREIgnore updates; field is always considered clean.- See Also:
-
RESTRICT
public static final int RESTRICTThrow an exception on attempt to update.- See Also:
-
-
Constructor Details
-
UpdateStrategies
public UpdateStrategies()
-
-
Method Details
-
getName
Convert the given strategy to a name. -
getCode
Convert the given strategy name to its constant.
-