It’s my first time using non-Groovy JPA domain classes since we had to generate the domain classes from pre-existing database tables.
Now, in our system, the requirement is that I had to get certain details in the join tables – which are represented as Collection
objects in the domains… only thing is, I’ll only know which set of tables to query at runtime. So, yes, it’s the inevitable use of reflection, something that I’m not really fond of ;p
Anyway, enough of that drama.
Continue reading