Jump to content

Javabean DataSource example


2006 IR Open Dicussion

Recommended Posts

By: luiaard - vta_123

Javabean DataSource example

2006-06-22 02:17

Hi,

 

I have implemented the xml datasource sucessfully by following the steps in the IReport manual version 1.2. When implementing the Javabean example from the manual exactly as explained it fails to fill the fields with the correct data. The following error message is displayed in IReport 1.2.3 when executing the report with the active connection :

 

Error filling print...

java.lang.NoSuchMethodException: Unknown property ...

...

 

Do I have to implement JRDataSource interface? And if so is there some example available?

 

Thank you

 

 

 

 

By: luiaard - vta_123

RE: Javabean DataSource example

2006-06-22 04:06

Ignore the previous post.If only I implemented the example exactly as I should ... "getter" method must start with capital and member variable must be small caps.

 

It works fine now.Nothing wrong with the manual.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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