}
@Override
public ObjectFilter getObjectFilter(String jpaQuery) {
FilterParsingResult<TypeMetadata> parsingResult = parse(jpaQuery);
BooleanExpr normalizedFilter = booleanFilterNormalizer.normalize(parsingResult.getQuery());
//todo [anistor] we need an efficient single-filter registry ...
FilterRegistry filterRegistry = createFilterRegistryForType(parsingResult.getTargetEntityMetadata());
FilterSubscriptionImpl filterSubscriptionImpl = filterRegistry.addFilter(normalizedFilter, parsingResult.getProjections(), parsingResult.getSortFields(), new FilterCallback() {
@Override