Derby Embedded DB on Netbeans 6.0
843859Mar 21 2008 — edited Mar 30 2008I 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?