Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exporting Derby database in Netbeans

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.

like image 564
Steven Avatar asked Mar 29 '13 19:03

Steven


1 Answers

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.
like image 148
Alvin Thompson Avatar answered Oct 22 '22 19:10

Alvin Thompson