Jump to content
Changes to the Jaspersoft community edition download ×

Getting Data from Jasper Report Variables


Recommended Posts

Hi all,


My requirement is:


I need the data from the SQL that is being used in Jasper Report.


I have been looking API and found this


JRResultSetDataSource is similar to ResultSet of JDBC


So if jrrs is an instance of JRResultSetDataSource,then how to get the fields from it.

There is no method like jrrs.getString("....") as in ResultSet


So I have to use

jrrs.getFieldValue(arg0); where argument is of type JRField.


Can someone help in using getFieldValue() function.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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