Package cz.encircled.joiner.core
Class DefaultAliasResolver
java.lang.Object
cz.encircled.joiner.core.DefaultAliasResolver
- All Implemented Interfaces:
AliasResolver
- Author:
- Vlad on 16-Aug-16.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.querydsl.core.types.Path<?>doFindPathOnParent(com.querydsl.core.types.Path<?> parent, Class<?> targetType, JoinDescription joinDescription) voidresolveFieldPathForJoinAlias(JoinDescription join, com.querydsl.core.types.EntityPath<?> root) Find and set the path to field (collection or single) for the givenjoin
-
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:AliasResolverFind and set the path to field (collection or single) for the givenjoin- Specified by:
resolveFieldPathForJoinAliasin interfaceAliasResolver
-
doFindPathOnParent
protected com.querydsl.core.types.Path<?> doFindPathOnParent(com.querydsl.core.types.Path<?> parent, Class<?> targetType, JoinDescription joinDescription) - Parameters:
parent- parent join or "from" elementtargetType- type of joined attributejoinDescription- join description- Returns:
- path on parent Q class
-