Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is Derby database stored when I create it from Netbeans?

Where is Derby database stored when I create it from netbeans? How Can I combine it with the rest of my project in one folder?

like image 689
Xcoder Avatar asked Feb 29 '12 06:02

Xcoder


People also ask

Where is Derby database stored?

A Derby database is stored in files that live in a directory of the same name as the database. Database directories typically live in system directories. Contains files that make up the database transaction log, used internally for data recovery (not the same thing as the error log).

How do I find my NetBeans database?

Right click the “Java DB” and select “properties” d. The “Java DB properties” window (Figure 11) provides the Database Location. In our case (in Windows), it is located in “C:\Users\username\. netbeans-derby”.

How do I check my Derby database?

If you want to connect to a Derby database which is running in server mode then you can use the following command. connect 'jdbc:derby://localhost:1527/c:\temp\db\FAQ\db;create=true';


1 Answers

Right-Click on Databases->JavaDB in the Service View and select Properties...

enter image description here

This will open the following screen, where the location is visible and could be changed: enter image description here

like image 65
oers Avatar answered Oct 04 '22 23:10

oers