Can't connect to Java DB sample database

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Can't connect to Java DB sample database

priya465
Without seeing code it's hard to guess, but perhaps you need create=true on your connection string.

final String connectionURL = "jdbc:derby:" + dbName + ";create=true";

(I pulled this copy and paste out of an app I have that uses an embedded database.)