db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Burlison <Alan.Burli...@sun.com>
Subject Re: NPE when connecting to database with securityMechanism=8
Date Thu, 23 Aug 2007 15:07:33 GMT
Knut Anders Hatlen wrote:

> You shouldn't load the client driver unless your application uses
> jdbc:derby://localhost/mydb. The reason why the client driver seems to
> work in your case, is that the server already has loaded the embedded
> driver. So the code that runs inside the same JVM as the server should
> use jdbc:derby:mydb and not load the client driver, whereas the external
> scripts should load the client driver and use
> jdbc:derby://localhost/mydb.

That makes sense :-)

Thanks for all your help!

Alan Burlison

View raw message