Jump to content
Changes to the Jaspersoft community edition download ×

Different query result in JasperSoft studio vs SQL Developer


VillageIdiot

Recommended Posts

Hi folks,

Here's a general question for you - why might a plsql query that produces a resultset in SQL developer produce the same result set but with all values as zero in JasperSoft Studio (and in the report it produces), as well as the report produced by a java app running the same report? They're both being run against the same database, so I expect the same figures.

e.g in sql developer

Some ColumnValue 1Value 2Value 3
This994118
That13193
Something else232335

in jaspersoft studio data preview and in generated report

Some ColumnValue 1Value 2Value 3
This000
That000
Something else000

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I reduced the query to one result line that I know has non-zero values in it and these display correctly in the data preview window. The first row of the full result set is all zeros so it looks like JasperStudio is using the first row results for all row output, although I cannot see why it would do this. The expressions in the table are just simple field references.

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