簡體   English   中英

將 Xml 文件數據插入 MySQL 表

[英]insert Xml file data into MySQL table

我想將 Xml 文件數據插入 MySQL 表中,通過選擇要插入的列,使用 Java 這將如何完成?

這實際上取決於您的 XML 文件的格式。 如果您的 XML 文件是從 MySQL 文件直接導出的,請參考這個問題

If your XML is in some other format, then I would probably be using JAXB to parse XML into POJO, then write some logic to map the POJO into the database table.

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM