Pages

Wednesday, May 16, 2012

Creating an embedded JavaDB with netbeans with a given path at your local hard disk

Using the Netbeans IDE it is very easy to create an embedded JavaDB database. Just follow the steps:
1. open your netbeans ide :)
2. go to services tab
3. open Databases then Drivers and right click the Java DB (Embedded)
4. after "connect using" in the jdbc url write the following:
jdbc:derby:c:/yourPath/DB/yourDb;create=true
Success.

No comments:

Post a Comment