I'm trying to populate a table by reading in a XML file using Java, but I don't know where to start. Do I use FileInputStream?
Asked
Active
Viewed 139 times
1 Answers
0
You can use jaxb library to read xml. Refer this question for an example. Another example for reading xml using jaxb.
After you've read the xml file, you can populate the data into the relevant tables using jdbc.
Please expand your question if this approach does not solve your problem.

Community
- 1
- 1

Sendhilkumar Alalasundaram
- 1,733
- 14
- 24