Gunnar, Davide and I had a discussion on how to get results out of these
soon to be nicely generated native queries in Hibernate OGM
http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2013/...
http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2013/...
http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2013/...
A result of this discussion is the following steps:
1. use the mass indexer approach as step 0 for the MongoDB query
2. explore the proper approach
https://hibernate.atlassian.net/browse/OGM-293
3. reuse data returned denormalized by the underlying native query
https://hibernate.atlassian.net/browse/OGM-294
3. is useful for queries but also for reguar entity fetching down the
road.
Emmanuel