[hibernate-dev] [OGM] Load entities from native query results

Emmanuel Bernard emmanuel at hibernate.org
Wed Jul 3 10:59:22 EDT 2013


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/hibernate-dev.2013-07-03-13.59.html
http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2013/hibernate-dev.2013-07-03-13.59.txt
http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2013/hibernate-dev.2013-07-03-13.59.log.html

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


More information about the hibernate-dev mailing list