Annotation Type Persist

  • @Documented
    public @interface Persist
    Parts can specify this annotation on one of the methods to tag it as the method that performs "save" operation.

    This annotation must not be applied to more than one method on a class. If multiple methods of the class are tagged with this this annotation, only one of them will be called to persist data.