Here is an example of my entities that I am trying to return with eager loaded collections.
Mixes -> Tracks (collection) -> Tags (collection)
I need to return a paged list of Mixes with eager loaded tracks & tags, without paging it is relativly simple by using the Future<>() function to run multiple queries for the tracks + tags.
Because this data needs to be paged...how can I get all my data back so that NHibernate won't get the N+1 issue when displaying my data.
Paul
Total: 2 queries.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With