IReport 和 jasper 报告之谜
我正在使用一个非常旧的 iReport 0.5 和一个非常旧的 Jasper 报告。该项目已休眠多年。
我必须对现有的 jrxml 进行更改。我已经对许多其他现有的成功地做到了这一点。一是给我带来麻烦。
如此多的 jrxml 文件,我在 iReport 中打开它,并将控件名称从 TextField12 更改为 TextField121111,然后保存文件。当我比较旧版本和版本时,我看到一行更改显示名称更改。
有问题的 jrxml,我做了同样的简单编辑更改,当我进行比较时,有大量的更改。所以谁在乎你问。修改后有问题的 jrxml 始终不会为我的报告返回任何数据,当我在数据库中交互运行它时,查询是正确的。
我如何找到为什么这一报告从不返回任何数据以供报告显示的原因?
对此有何想法?
谢谢
I am using a very old iReport 0.5 and a very old Jasper report. The project has been dormant for number of years.
I am having to make a change to an existing jrxml. I have done this successfully to many of the other existing ones. One is giving me problems.
So many of the jrxml files, I open it in iReport and change a control name from TextField12 to TextField121111 and I save the file. When I diff the old and the version, I see the one line change showing the name change.
The problematic jrxml, I do the same simple edit change and when I do a diff, there is a ton of changes. So who cares you ask. The problematic jrxml after the modification, always returns no data for my report, the query is correct when I run it interactively in my database.
How do I go about finding why this one report never returns any data for the report to display?
Thoughts on this?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该块完整地从未写回到新保存的文件中...
当我手动将其添加回 jrxml 时,问题得到解决。每次保存操作后都会遇到此问题。
this block, in full, was never written back to the newly saved file...
problem solved when I manually add that back to the jrxml. Got to this after every save operation.