private Predicate associationAttributePredicate(final PersistentProperty attribute, final String attributeName, final String parameterValue) {
final Class<?> domainType = attribute.getActualType();
final DomainTypeBasicConfiguration domainTypeBasicConfiguration = domainTypeConfigurationFor(domainType);
final JpaRepository repository = domainTypeBasicConfiguration.getRepository();
final Serializable id = stringToSerializable(parameterValue, (Class<? extends Serializable>) domainTypeBasicConfiguration.getPersistentEntity().getIdProperty().getType());
final Object entity = repository.findOne(id);
if (attribute.isCollectionLike()) {
final Expression<Collection> objectPath = root.get(attributeName);
return builder.isMember(entity, objectPath);
} else {