eclipse - 如何复制 Derby 表

标签 eclipse derby

我正在使用Eclipse,Java和Derby数据库。我想尝试更改值以重写db中的表之一。在开始更改之前,我想复制特定的表(不在代码中),以便必要时可以还原原始数据。谷歌搜索和搜索该网站尚未产生答案。在Eclipse中,有一个导出数据库的选项,但它称其为连接,因此我不习惯会发生什么。

最佳答案

In Eclipse there is an option to export the db but it calls it a connection so I am not sure what would happen.



如果您不了解Eclipse的功能,则可以将整个数据库目录(DERBY_HOME env。变量的内容)压缩到一个归档文件中。进行备份时,数据库不得正在运行。

关于eclipse - 如何复制 Derby 表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12836572/

相关文章:

java - Derby/JavaDB 与 SQLiteJDBC

java - Equinox/OSGi/Eclipse插件开发: where do these dependencies come from and how do I specify their minimum versions?

android - 错误 : No resource identifier found for attribute 'layout_alignStart'

c++ - 连续使用 std::list 导致崩溃

java - 备份 derby 数据库但排除表

java - SQLSyntaxErrorException : Table/View does not exist

java - Eclipselink/ Derby : Foreign Key Constraint

java - android中的“Collection 夹列表”-重新更改评分栏

eclipse - Nodeclipse Debugger 在第一行停止,即使在清除所有断点之后也是如此

java - Java 中的 SQL。如何使用 WHERE 条件插入 Derby 表