Class TableRelationResolver<Q extends FlexibleRelationalPathBase<R>,​R,​TS,​TQ extends FlexibleRelationalPathBase<TR>,​TR>

  • Type Parameters:
    Q - type of source entity path (where the mapping is)
    R - row type for TableRelationResolver
    TS - schema type for the target entity, can be owning container or object
    TQ - type of target entity path
    TR - row type related to the target entity path TableRelationResolver
    All Implemented Interfaces:
    ItemRelationResolver<Q,​R,​TQ,​TR>

    public class TableRelationResolver<Q extends FlexibleRelationalPathBase<R>,​R,​TS,​TQ extends FlexibleRelationalPathBase<TR>,​TR>
    extends Object
    implements ItemRelationResolver<Q,​R,​TQ,​TR>
    Resolver that knows how to traverse to the specified target query type. By default EXISTS subquery is used which is better for multi-value table stored items to avoid result multiplication. The resolver supports mapping supplier to avoid call cycles during mapping initialization.