Jump to content
Changes to the Jaspersoft community edition download ×

OneThousandAndTWO bug!! DataSource class refresh


kjhuebner

Recommended Posts

Hi Giulio,

I just confirmed that there is a class refresh bug in IReport. Whenever I modify my custom datasource source code, and copy compiled class files into my IReport report folder, IReport does not update report fill with new class. Rather it runs previous version.

 

Whereby, my current solution is to shutdown IReport and restart. Then the new class is recognized by IReport and correctly fills report.

 

I hope someone looks into this matter soon,

Thanks!

Ken

Senior Java Developer

Catalyst International, Inc.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Datasource classes are loaded from the java virtual machine and can not be reloaded. In effect it makes not sense reload this kind of classes, iReport is not a java development enviroment, and load each time the datasource classes can be a terrible idea when the datasource is very complicated (like OLAP based datasources).

 

The only reloadable classes are the scriptlets.

 

Giulio

Link to comment
Share on other sites

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