开发者

How to read .rpt files and load data to database

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜