Ok, i got it:
This is a limitation from the
org.hibernate.ogm.datastore.mongodb.query.parsing.nativequery.impl.NativeQueryParser which define the pattern as :
Quote:
public Rule Query() {
return Sequence( FirstOf( FindQuery(), CriteriaOnlyFindQuery() ), EOI, push( builder ) );
}
public Rule FindQuery() {
return Sequence( Db(), Separator(), Collection(), Separator(), Operation() );
}
@SuppressSubnodes
public Rule Collection() {
return Sequence( OneOrMore( TestNot( Separator() ), ANY ), builder.setCollection( match() ) );
}
So collection names must not have a dot inisde, so we don't have possibility to use schema...
Hope, that it will be fixed in the future ? ;)