Jump to content
Changes to the Jaspersoft community edition download ×

Using Spring loaded Hibernate DataSource


tecshine

Recommended Posts

HI

 

I am using a Spring loaded Hibernate connection in iRport1.3.0

 

Gave the classpath to point to my hbm,bin and source folders and also added the necessary jars.

 

Now when I give the path for Spring ConfigurationFile and the SessionFactory Bean id and click on Test

 

I get a strange error that shows only the Name of my

DAO implementation class and nothing else..

 

This is the tag in my context file..

 

</bean>

<bean id="deptDao" class="storedProcs.DeptDAOImpl">

<property name="sessionFactory"><ref local="sessionFactory"/></property>

</bean>

 

When I give the SessonFactory Bean Id as deptDao and click on test ...

 

I get a error dialog box showing "storedProcs.DeptDAOImpl" and nothing else..

 

Can anybody tell me where I have gone wrong...

 

Thanks a lot in advance

Pravi

Link to comment
Share on other sites

  • 4 months 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...