Class DefaultAliasResolver

java.lang.Object
cz.encircled.joiner.core.DefaultAliasResolver
All Implemented Interfaces:
AliasResolver

public class DefaultAliasResolver extends Object implements AliasResolver
Author:
Vlad on 16-Aug-16.
See Also:
  • Constructor Details

    • DefaultAliasResolver

      public DefaultAliasResolver(jakarta.persistence.EntityManager entityManager)
  • Method Details

    • resolveFieldPathForJoinAlias

      public void resolveFieldPathForJoinAlias(JoinDescription join, com.querydsl.core.types.EntityPath<?> root)
      Description copied from interface: AliasResolver
      Find and set the path to field (collection or single) for the given join
      Specified by:
      resolveFieldPathForJoinAlias in interface AliasResolver
    • doFindPathOnParent

      protected com.querydsl.core.types.Path<?> doFindPathOnParent(com.querydsl.core.types.Path<?> parent, Class<?> targetType, JoinDescription joinDescription)
      Parameters:
      parent - parent join or "from" element
      targetType - type of joined attribute
      joinDescription - join description
      Returns:
      path on parent Q class