Skip to content

A simple java application to import SQL Data into Excel Spreadsheet

License

Notifications You must be signed in to change notification settings

sachin-handiekar/SQLExporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLExcelExporter

A simple java application to import SQL Data into Excel Spreadsheet

Usage :

java -jar SQLExcelExporter.jar -config <file>

A JSON Configuration file can be used with the following content -

{
  "datasource": {
    "className": "oracle.jdbc.driver.OracleDriver",
    "jdbcUrl": "jdbc:oracle:thin:@//localhost:1521/orcl",
    "username": "user",
    "password": "password"
  },
  "workspace": [
    {
      "id": "1",
      "worksheet": [
        {
          "id": "1",
          "sqlQuery": "Select * from Person",
          "workSheetName": "Person"
        },
        {
          "id": "2",
          "sqlQuery": "Select * from Stock",
          "workSheetName": "Stock"
        }
      ],
      "fileName": "C:/temp/workspace1.xls"
    }
  ]
}

The tool is single threaded and multiple worksheets with different dataset can be created using the tool.

About

A simple java application to import SQL Data into Excel Spreadsheet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages