Hello Misha and Kasper, I have confirmed the issue and reported a bug in JIRA together with a unit test reproducing the problem: https://issues.apache.org/jira/browse/METAMODEL-211
Pozdrawiam / Regards / Med venlig hilsen Tomasz Guziałek 2015-11-24 19:17 GMT+01:00 Kasper Sørensen <[email protected]>: > Hi Misha, > > Maybe you could try and put a breakpoint in MongoDbDataContext method > 'executePrimaryKeyLookupQuery'. And then run your scenario in debug mode. > > Kasper > > 2015-11-24 17:18 GMT+01:00 mishadoff <[email protected]>: > > > Hello all! > > > > I have started using apache metamodel but got stuck in prototyping query > > for mongo which uses primary lookup. > > I do not want to duplicate a lot of data so I have already created a > > question on StackOverflow > > > http://stackoverflow.com/questions/33897861/apache-metamodel-select-by-id-from-mongodb > > < > > > http://stackoverflow.com/questions/33897861/apache-metamodel-select-by-id-from-mongodb > > > > > > > Could you please advise me what I am doing wrong or it’s a bug in > > MongoDBDataContext? > > > > Thanks. > > > > — Misha >
