我是报道界的新手。想知道通过查询来自多个数据库的数据来生成单个报告的正确解决方案。我们计划使用一些报告解决方案,例如 Jasper Reports 或 BIRT。通常,数据库将是 postgresql。
请随时让我知道任何其他更好的解决方案。
谢谢。
我是报道界的新手。想知道通过查询来自多个数据库的数据来生成单个报告的正确解决方案。我们计划使用一些报告解决方案,例如 Jasper Reports 或 BIRT。通常,数据库将是 postgresql。
请随时让我知道任何其他更好的解决方案。
谢谢。
With BIRT you can use as many data sources as you like; independently or together as joint data sets. A Joint Data Set is basically a join you create at the report level. The cool think here is that you can in effect create the join accross data bases, even instances.
All the expected sources are supported, even some not so expceted ones. Any JDBC DB, Web Servce, Flat File, POJOs (via a Scripted Data Source), XML, Native DB Driver (i.e. Oracle, SQL Server, etc...). You can even use on BIRT Report as a data source for a secondary BIRT report. That gets a bit beyond the scope of the question, but opens up a huge amount of options in terms of deployment and felxibility.
在 JasperReports 中,如果您在服务器上生成报告,并将其作为 PDF 或 HTML 流式传输回客户端,那么您可以使用任何您想要的数据源,例如: