Jump to content
JasperReports Library 7.0 is now available ×

can i generate a report out of databean?


2004 IR Help

Recommended Posts

By: tugushk - tugushk

can i generate a report out of databean?

2005-08-02 20:38

in the tutorial, it does not mention whether one can generate a report out of databean.

 

can i use jasper report to design a report out of my databean? without any jdbc? please help.. thanks!!!􊉉

 

 

 

 

By: Ashraf Fouad - modulo2

RE: can i generate a report out of databean?

2005-08-02 22:39

If I understand what u say, u have a class with getters/setters that holds yr data, and u have a Vector or List or Collection of objects of this class, and u want to pass to jaspereports.

 

This simply can be done -and I use it a lot-, by

JRDataSource dataSource = new JRBeanCollectionDataSource( collection );

 

I think u should have a look for all implemented classes of JRDataSource.

 

 

 

 

 

By: tugushk - tugushk

RE: can i generate a report out of databean?

2005-08-02 23:36

great!

 

thanks @modulo2.. it helps alot. that exactly what i mean.

 

i think, i will need more research on this topic.. thanks!

 

 

 

 

 

 

 

 

 

 

 

 

By: tugushk - tugushk

RE: can i generate a report out of databean?

2005-08-02 23:37

do you have other reading materials or turorial about this? thanks!!! 􊉉

 

 

 

 

By: John Zoetebier - johnzoet

RE: can i generate a report out of databean?

2005-08-02 21:37

Fields on a report are bound to a JDBC connection, parameter or a JRDataSource.

There are examples for each case in the demo subfolder of Jasper Reports.

 

 

 

 

By: chiupw - chiupw

RE: can i generate a report out of databean?

2005-10-13 18:03

where can i get the examples?... can i have the direct link to download?

 

thanks in advance....

 

 

 

 

By: David Heffelfinger - heffel

RE: can i generate a report out of databean?

2005-10-13 19:00

http://prdownloads.sourceforge.net/jasperreports/jasperreports-1.0.3.jar?download

 

After you unzip the file, look under the demo/samples directory.

 

There are examples for pretty much all the JasperReports features.

 

David Heffelfinger

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