Annotation Type RedisName


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface RedisName
Placing this annotation on public fields or getter/setter methods on POJOs hints that this field uses a different field or column name in a collection or table.
Author:
Matthew Tropiano
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specifies the column/field name.
  • Element Details

    • value

      String value
      Specifies the column/field name. If not specified, then this uses the default name for the annotated field.