Annotation Interface TurAssignableUuidGenerator


@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface TurAssignableUuidGenerator
Custom UUID generator annotation that supports pre-assigned IDs.

Unlike @UuidGenerator, this generator allows entities to have IDs set before persisting (e.g., during import). If the ID is null, a new UUID is generated. If the ID is already set, it is preserved.

Since:
0.3.9
Author:
Alexandre Oliveira