Jump to content
JasperReports Library 7.0 is now available ×

Datasource Issue


Recommended Posts

By: Neil H - neilhay

Datasource Issue

2003-01-20 16:34

I am playing around with Datasource example. I created my own XML file and created a CustomerData class exactly the same way in example.

 

When i try to generate a file, report comes back as blank. How does Jasper XML files knows that we are passing datasource? is there any tag that i missing ?

 

Thanks for help!

 

 

 

 

By: Teodor Danciu - teodord

RE: Datasource Issue

2003-01-25 01:13

 

Hi,

 

It knows because when you call the "fill" method,

you supply a JRDataSource instance, instead of

a Connection object.

Don't you?

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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