Hi,
I'm looking for a way to search objects by example together with relations. The default method doesn't do this.
http://www.devarticles.com/c/a/Java/Hib ... n-Depth/2/shows a way to apply joins with single properties (Restrictions). How can I combine this with example-queries?
Edit:
For those who care: I like to set up a more generic way to filter for properties. Imagine a table with data from two or more related tables and filter fields above every column to apply. For sure, you can write criterias for each table, but the code will be a mess and VERY depending on the tables/objects.