Good Afternoon,
I am a newbie and have no doubt this questions is so stunningly stupid it will cause me embarrassment when I cast my eyes over it in future years!
Anyway...
Our database is mapped and working lovely. I would now like to run queries that return fields from multiple tables in a single aggregated POJO. This is fine and I can follow the examples from the Hibernate tutorial and return the results as arrays of Objects, a List (or even pass results directly to a Constructor) and manually create\build up the POJO.
Is there a cleverer way to do this with hibernate mapping files? This would just be for query results (reads), not for persisting.
Cheers
Mat
|