views:

30

answers:

0

Hi all,

I am using jasper report to generate a report while calculating total from database.I am sending this as a parameter to jasper.But sometimes it gives wrong values for a total. I am using Hibernate as a OR-Mapping tool. In my application i am generating reports from database.In some reports it gives wrong values whereas the code is correct as it gives correct values on localhost.If the tomcat is restarted it again gives correct values.

Can anybody please direct me to some solution as i am not getting whether it is a hibernate cache problem or something else.