简体   繁体   English

jasper报告/出口是否可以从多个平面文件查询数据并将其显示在报告上?

[英]Is there a way for jasper report/ireport to query data from multiple flat file and display them on report?

i try search through this and come up with no result,it look like jasper report let you pass only one csv/flat file as its datasource.Is there a way to supply it with multiple flat file and query them like normal db table? 我尝试搜索此结果,但没有结果,它看起来像jasper报告,只允许您传递一个csv / flat文件作为其数据源。有没有办法为它提供多个平面文件并像普通的db表一样查询它们? I don't want to keep those data in db first because there are ton of them and store those data in db look unnecessary 我不想首先将这些数据保留在db中,因为有大量的数据并将这些数据存储在db中看起来是不必要的

thx for your answer :) 谢谢你的回答:)

I'd suggestion that you'd have to write your own data source tat was capable of reading from the required files. 我建议您必须编写自己的数据源,才能从所需文件中读取数据。

Alternatively, you read all the data in yourself & pass into jasper as a List 另外,您可以读取自己的所有数据并以List传递给jasper

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM