Jump to content
Changes to the Jaspersoft community edition download ×

Hibernate Jave Bean with Set of Objects.


j3grewal

Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...