Jump to content
We've recently updated our Privacy Statement, available here ×

IReport Spring+Hibernate Datasource


craig1980

Recommended Posts

Hi.

 

I'm new to IReport and Jasper reports.

I'ld love to use a datasource by using my spring-hibernate file.  I have this environment:

JVM 1.4.2

IRport 3.0.0

Spring 2.0.6

Hibernate 3.2.5

 

I have tried to create a Spring Hibernate Datasource; first of all i have replaced the spring and hibernate jars in IReport with new ones; then i have added in classpath a Jar with my spring bens definition file, my hbm files and my classes files.

After some test IRport tells me it successufully create datasource but then i can't see hibernate bean in my Query editor when i try to use HQL

 

Can anyone give me some sample on how to setup correctly this datasource?

Thnx

Angelo

Link to comment
Share on other sites

  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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...