public boolean isAssociation ( String targetTypeName , List < String > pathWithoutAlias ) { OgmEntityPersister persister = getPersister ( targetTypeName ) ; Type propertyType = persister . getPropertyType ( pathWithoutAlias . get ( 0 ) ) ; return propertyType . isAssociationType ( ) ; }
Check if the path to the property correspond to an association .