Netbeans - Apache Derby:如何导出到 XML?

发布于 2024-12-19 08:17:41 字数 235 浏览 3 评论 0原文

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

例如:

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

I have an Apache Derby database built in Netbeans. I'm wondering if there is anyway to export the table contents as xml.

for example:

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

天煞孤星 2024-12-26 08:17:41

您有几个(免费)选项

所有这些都涉及编写一些 Java 代码。不幸的是,Derby 中没有用于 XML 导出的内置功能。它仅支持 CSV 格式。祝你好运!

You have several (free) options

All of these involve writing some Java code. Unfortunately, there is no built in functionality in Derby for XML export. It only supports a CSV format. Good luck!

ゝ偶尔ゞ 2024-12-26 08:17:41

不确定是否可以通过这种方式执行 XML,但这也许会提供一个中间步骤:

http://db.apache.org/derby/docs/10.4/tools/ctoolsimport16245.html

这是 Apache 编写的关于如何从德比数据库。

Not sure if you can do XML this way, but perhaps this will provide an intermediate step:

http://db.apache.org/derby/docs/10.4/tools/ctoolsimport16245.html

It's a guide written by Apache on how to import and export data from a Derby db.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文