db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mamta Satoor <msat...@gmail.com>
Subject Re: Derby Clarifications
Date Fri, 11 Mar 2005 15:38:45 GMT
Hi Manoj,

Can you clarify the terminology for few things in your question? for
eg, I don't know what you mean by you have created a server. Also,
what is the exact jdbc url that you are using to connect to Derby?

Derby can be run in 2 modes. One is embedded mode and the other is
Network Server mode. In Network Server mode, multiple clients can
connect to Derby.

When using Derby in embedded mode, host and port numbers are not valid
attributes on the url.

Also, before the bootPassword, you need to have a ; in your url. 

Sorry couldn't help you more but if you can provide some more info
about your questions, maybe someone can help more,

On Fri, 11 Mar 2005 22:22:43 +0800, Manoj Koshy <koshy.manoj@gmail.com> wrote:
> Hi,
> I have been testing an embedded product
> with derby .Am impressed with the memory footprint.
> Some clarifications.
> I have created a server and a a database say test in encrypted format.
> Can I connect to the database through the server ?
> I cannot use the bootPassword parameter in this case in addition to
> the other attributes when I connect from a java application.
> what is the right format of usage.
> Additionally can I connect to an embedded database using either
> of  localhost:port format or
> as a relative url
> In my case I package the database as an application together with an instance
> of JRE and tomcat.
> All help would be appreciated.
> Thanks in advance
> --
> Manoj Joseph Koshy
> 240 Lorong Chuan,#03-03,
> Chuan Park,
> Singapore

View raw message