On 12/1/06, Bill Slack <ws...@sh...> wrote:
>
>
> I am just looking over Squirrel for the first time.
> I am working with Netbeans and javaDB (Derby).
> I created a database (pre Squirrel installation) with Netbeans, which runs
> fine.
> After successfully installing Squirrel, I created an alias to the database
> and connected OK using the alias.
> The problem is that Squirrel won't connect to javaDB "after" I have made a
> connection from Netbeans again.
> But if I start javaDB with Netbeans and then try to make a connection with
> Sqirrel, everything is OK.
Bill,
What is the jdbc url that you use from SQuirreL to connect and how do
you start the database? I start mine up in "Network Server" mode
using startNetworkServer.bat
(comes with Derby) and then use the following url to connect:
jdbc:derby://localhost:1527/<databasename>
Is it possible that you are running the DB in the same JVM as SQuirreL
(embedded) but with NetBeans it is starting it in "server" mode? I
don't know much about the JavaDB that is provided with NetBeans and
how it is started, but my guess would be that it's running in embedded
mode in SQuirreL (only when NetBeans hasn't already started it)
Rob
|