Annotation Type ManyToOne


  • @Target({METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface ManyToOne
    • Element Detail

      • targetEntity

        java.lang.Class targetEntity
        Default:
        void.class
      • fetch

        FetchType fetch
        Default:
        javax.persistence.FetchType.EAGER
      • optional

        boolean optional
        Default:
        true