On 23/02/2013 13:21, john miltone wrote:
         String connectionURL = "jdbc:derby:" + dbName + ";create=true;user=" +
user + ";password=" + password ;
             Connection connexion = DriverManager.getConnection(connectionURL);

Oops, replied too hastily... didn't notice this:

DriverManager.getConnection throw a exeception always.

Difficult to say unless you provide details of the error message for the exception. Does the connectionURL work if you connect with IJ? Is the dbname a relative or absolute directory name? If it's relative, are you in the correct current directory when you try and connect?

HTH,
--
John English

Reply via email to