j3grewal Posted January 13, 2011 Share Posted January 13, 2011 Hi,I am trying to use Jasper reports with hibernate either using HQL or JRDataSource. Reporting on object properites works fine. However I have not been able to find any examples of how to include object properties of type Set in the report.For example if I have a Java object of class Person that has a property pets which is a Set of Pet class. My query was done on Person class, then how would I print the names of all the pets for a single person in the report. Moreover, can I filter the set ofobjects, that is only include pets that meet certain criteria, a minimum age for example.Any help will be greatly appreciated. Thanks.Jas Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now