24.2.45. @LazyGroup

The @LazyGroup annotation is used to specify that an entity attribute should be fetched along with all the other attributes belonging to the same group.

</div>

To load entity attributes lazily, bytecode enhancement is needed. By default, all non-collection attributes are loaded in one group named "DEFAULT".

</div>

This annotation allows defining different groups of attributes to be initialized together when access one attribute in the group.

</div>

See the @LazyGroup mapping section for more info.

</div> </div>

results matching ""

    No results matching ""