Annotation Type ShallowReference


  • @Target({TYPE,METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface ShallowReference
    Use ShallowReference to mark certain Entities as compared only by Id.

    When ShallowReference is enabled for a given Entity, all its properties (except idProperty) are ignored.
    JaVers stops building Object Graph from ShallowReference Entities.