helper.isInSelect = oldIsInSelect;
helper.getBuilder().append(")");
} else {
JoinFilter joinFilter = PersistenceUtils.getMemberAnnotation(ammd.getMemberRepresented(), JoinFilter.class);
if (joinFilter != null) {
if (joinFilter.alias().length() > 0) {
helper.getBuilder().append(String.format(" %s", joinFilter.alias()));
}
if (joinFilter.value().length() > 0) {
helper.getBuilder().append(" where (").append(joinFilter.value()).append(")");
}