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 Column | Value 1 | Value 2 | Value 3 |
This | 99 | 41 | 18 |
That | 13 | 1 | 93 |
Something else | 23 | 23 | 35 |
in jaspersoft studio data preview and in generated report
Some Column | Value 1 | Value 2 | Value 3 |
This | 0 | 0 | 0 |
That | 0 | 0 | 0 |
Something else | 0 | 0 | 0 |
0 Answers:
No answers yet
And the same all-zero thing in the data preview window too, by the way.
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.
OK, hands up, I'm an idiot! Updated the oracle driver, it works.