• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Connect to database created with IJ - JavaDB

Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic