This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I'm trying to connect to a database that I have created with the JavaDB tool ij.
the database exists and I can work on it, using ij.
However if I try to exit it from source code:
I get an Error, saying that maybe an other derby instance has opened the connection already. And than
a lot of Unkonown Soruce errors.
I closed al the existing connections to the db i want to connect to and even closed ij. Still not working.
If I create an new database in java (Just change the dbName variable), everything is working perfectly.