Annotation Type DbMap


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface DbMap
    Used for mapping a Map type property to Postgres HSTORE data type.

    The Map property should have keys and values of type String.

    Example:

    {@code
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int length
      For VARCHAR storage specify the column length (defaults to 1000).
      String name
      The name of the column (Optional).
    • Element Detail

      • name

        String name
        The name of the column (Optional).
        Default:
        ""
      • length

        int length
        For VARCHAR storage specify the column length (defaults to 1000).
        Default:
        0