开发者

How to read .rpt files and load data to database

开发者 https://www.devze.com 2023-01-10 08:27 出处:网络
I need to read .rpt files and 开发者_C百科load the data into MySQL or Oracle using Java. Can anyone help in this?As far as i know, .rpt files are used by BIRT.

I need to read .rpt files and 开发者_C百科load the data into MySQL or Oracle using Java. Can anyone help in this?


As far as i know, .rpt files are used by BIRT. Are the .rpt (report) files processed in any way or do you just have to write them into a database? In case of the latter, the necessary steps are:

  • Create a list of all .rpt files
  • For each of the files:
    • Read the file into a String
    • CREATE a SQL INSERT statement and execute it against your database
  • Profit.

    I will expand this answer if you clarify your requirements.

0

精彩评论

暂无评论...
验证码 换一张
取 消