Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connect to database created with IJ - JavaDB

 
Walther Mueller
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.

I would appreciate any help,
Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic