在Netbeans中导出Derby数据库 [英] Exporting Derby database in Netbeans

查看:172
本文介绍了在Netbeans中导出Derby数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有德比数据库的项目。



我想要能够备份或导出数据库,所以我可以把它与项目文件一起给我的讲师。


<默认情况下,数据库驻留在 .netbeans-derby 下的主文件夹中(此文件夹可能已隐藏)在Windows下)。复制此文件夹将工作,但您的讲师将必须注册他复制的位置与他的IDE。要执行此操作:




  • 服务下,打开

  • 右键单击 Java DB 并选择属性。

  • 数据库位置字段中,输入复制文件夹的路径。


I have a project with a derby database in it.

I want to be able to make a backup or export the database so I can give it with the project files to my lecturer.

解决方案

By default, the database resides in your home folder under .netbeans-derby (this folder may be hidden under Windows). Copying this folder will work, but your lecturer will have to "register" this copied location with his IDE. To do this:

  • Under Services, open the Databases node.
  • Right-click on Java DB and select properties.
  • In the Database Location field, enter the path to the copied folder.

这篇关于在Netbeans中导出Derby数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆