Commit 25a05f3
committed
Added support for multiple CSV files. This commit modifies the CSVToSQLConverter class to support multiple CSV files. The main method has been updated to iterate over an array of CSV file paths and call the convertCSVToSQL method for each file. Each CSV file is converted into a separate SQL table, the name of which is derived from the name of the CSV file.
1 parent 816ae65 commit 25a05f3
6 files changed
Lines changed: 15 additions & 2773 deletions
File tree
- src/main/java/com/mycompany/csvtosqlconverter
- target
- classes/com/mycompany/csvtosqlconverter
Large diffs are not rendered by default.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
11 | 23 | | |
12 | 24 | | |
13 | 25 | | |
| |||
Binary file not shown.
Binary file not shown.
0 commit comments