Im working on a project which requires me to write codes using ejb3 JPA, to generate queries dynamically to retrieve data from table, and join the appropriate tables dynamically as well. I wonder how can that be done, are there any useful examples? if use the annotation, it wouldt be that flexibe enough right?
Thanks for the link, was just wondering, as for dynamic sql, entityManager.createQuery and createNativeQuery, when to use those 2. And seems like native query is much more flexible, as i can construct the whole sql statement, then only execute it?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads