database - Netbeans-Apache Derby : How to export to XML?

标签 database netbeans jdbc export

我有一个用 Netbeans 构建的 Apache Derby 数据库。我想知道是否有将表格内容导出为 xml 的方法。

例如:

`<employee>
<name="Kal"/>
<ID=10/>
<employee/>`   where employee is table name, name and ID just attributes 

最佳答案

你有几个(免费)选项

所有这些都涉及编写一些 Java 代码。遗憾的是,Derby 中没有用于 XML 导出的内置功能。它只支持 CSV format .祝你好运!

关于database - Netbeans-Apache Derby : How to export to XML?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8347710/

相关文章:

.net - 存储 UTC,在 DataGridView 中显示本地时间(DataSource = DataTable)

sql - 具有来自不同表的多列的外键

java - 身份验证 Servlet 过滤器

连接池 (Hikari) 重用的 JDBC 连接生命周期

mysql - java.sql.ResultSet.next() 说明

sql - Oracle中过滤重复列

netbeans - 将 Play Framework 2.1.0 与 NetBeans 一起使用

netbeans - 如何在 NetBeans 输出控制台中打开包装模式?

mysql - 使用 JDBC 抓取 mysql 查询并将其发送到 elasticsearch

java - 在 hibernate 状态下从集合中删除实体