t3_chris Posted March 12, 2015 Posted March 12, 2015 Hello!I would like to use the EJBQL/JPA related features in Jasper Reports within my project and therefore need to configure JasperSoft Studio 6.0.3 to be able to use my JPA 2.0 Persistence Unit. I use Hibernate 4.2 as my JPA 2.0 Persistence Provider. This is where the problem starts...It seems as if there is a bundled version of Hibernate 3 which comes with JasperSoft Studio. When I try to include all the necessary Hibernate4-JAR-files as a UserLibrary in my reports project in JasperSoft Studio I get InvocationTargetExceptions and/or ClassCastExceptions when trying to preview a report. So the next thing I've tried was to include the required JARs at the top-most level "C:Program FilesTIBCOJaspersoft Studio-6.0.3.finalfeaturesjre.win32.win32.x86_64.feature_1.7.0.u71jrelibext" - but with the same result.Did anybody out there manage to intialize a JPA 2.0 Persistence Unit in JasperSoft Studio 6?If so I would be really grateful for any guidelines you can provide.Thank you very much!Best Regards,Christian
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