Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Derby Embedded DB on Netbeans 6.0

843859Mar 21 2008 — edited Mar 30 2008
I am learning how to use a embedded database in my JAVA desktop application. I recently donwloaded NB 6.01 to use as IDE. I read somewhere here that the Services Tab in NB should not be used for embedded derby. Is it true?

The problem I am facing is that when I create a DB using Tools->Java Database->Create database and change the DB Properties (driver and URL) to fit with Derby Embedded, I cannot connect the database anymore. I received a message like this "Unable to Connect. Cannot establish a connection to jdbc:derby:<myDB> using org.apache.derby.jdbc.EmbeddedDriver (Database 'myDB' not found)".

Am I using the right path to manage databases in NB 6.0? I did not use the option Create Connection when I right click the Database folder on Serices tab, when do I have to use it?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 27 2008
Added on Mar 21 2008
1 comment
232 views