Annotation Type ValueGenerator
-
@Target({ANNOTATION_TYPE,FIELD,METHOD}) @Retention(RUNTIME) public @interface ValueGenerator
Extension annotation allowing for custom value generators in Jakarta Persistence (uuid, timestamp, etc).
-
-
Element Detail
-
strategy
String strategy
The strategy for the generation. Needs to be one of the available DataNucleus value generators (e.g uuid, timestamp).- Returns:
- The strategy
-
-