|
|
|
@ -117,8 +117,11 @@ class MongoQueryCreator extends AbstractQueryCreator<Query, Criteria> { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PersistentPropertyPath<MongoPersistentProperty> path = context.getPersistentPropertyPath(part.getProperty()); |
|
|
|
PersistentPropertyPath<MongoPersistentProperty> path = context.getPersistentPropertyPath(part.getProperty()); |
|
|
|
return from(part.getType(), where(path.toDotPath(MongoPersistentProperty.PropertyToFieldNameConverter.INSTANCE)), |
|
|
|
|
|
|
|
(PotentiallyConvertingIterator) iterator); |
|
|
|
return new Criteria().andOperator( |
|
|
|
|
|
|
|
base, |
|
|
|
|
|
|
|
from(part.getType(), where(path.toDotPath(MongoPersistentProperty.PropertyToFieldNameConverter.INSTANCE)), |
|
|
|
|
|
|
|
(PotentiallyConvertingIterator) iterator)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
/* |
|
|
|
@ -265,4 +268,4 @@ class MongoQueryCreator extends AbstractQueryCreator<Query, Criteria> { |
|
|
|
|
|
|
|
|
|
|
|
return source.replaceAll("\\*", ".*"); |
|
|
|
return source.replaceAll("\\*", ".*"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|