Summary

The chapter started with integrating JasperReports with Hibernate by writing embedded report queries in the HQL. JasperReports with HQL queries is similar to reports containing SQL queries except that the language attribute of the <queryString> element must be set to hql. Next, we saw how to integrate JasperReports with the JPA. As with Hibernate, JPA integration requires that the language attribute of the <queryString> element be modified. For JPA, the value of this attribute must be set to ejbql. Following our discussion of JPA, we saw how to integrate JasperReports with the Spring framework by taking advantage of Spring's built-in support for JasperReports integration.

The chapter also dealt with JSF and JasperReports integration and ...

Get JasperReports 3.5 for Java Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.