Annotation Type PersistentMap


  • @Target({METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface PersistentMap
    Metadata annotation for a persistent map field.
    Since:
    0.4.0
    Author:
    Abe White
    • Element Detail

      • keyType

        java.lang.Class keyType
        Default:
        void.class
      • elementType

        java.lang.Class elementType
        Default:
        void.class
      • keyCascade

        jakarta.persistence.CascadeType[] keyCascade
        Default:
        {}
      • elementCascade

        jakarta.persistence.CascadeType[] elementCascade
        Default:
        {}
      • keyEmbedded

        boolean keyEmbedded
        Default:
        false
      • elementEmbedded

        boolean elementEmbedded
        Default:
        false
      • fetch

        jakarta.persistence.FetchType fetch
        Default:
        jakarta.persistence.FetchType.LAZY