Subject Re: [Firebird-Java] Jdbc standard connection url
Author Blas Rodriguez Somoza
Hello

Let me clarify the url change.

The two formats are valid now, the old one and the standard. The formats are

<protocol>:<subprotocol>:[//host[:port]/]<database> Standard format
<protocol>:<subprotocol>:[host[/port]:]<database> FB old format

The two formats allows to ommit port and server. The defaults for host and port are

default host = localhost
default port = 3050

Regards
Blas Rodriguez Somoza

----- Original Message -----
From: "Mark O'Donohue" <mark.odonohue@...>
To: "Firebird-Java" <Firebird-Java@yahoogroups.com>
Sent: Saturday, July 20, 2002 5:18 AM
Subject: Re: [Firebird-Java] Jdbc standard connection url


>
> Hi Blas
>
> Blas Rodriguez Somoza wrote:
> > Hello
> >
> > I've commited a patch to allow jdbc standard connection url syntax. The connection syntax is
> >
> > <protocol>:<subprotocol>:[//host[:port]/]<database>
> >
> > Now the Interclient url must be valid if the subprotocol is changed from interbase to firebirdsql.
>
> A while ago I fixed a small bug, that meant the /3050 'had' to be there
> a url of the form "jdbc:firebirdsql:server.name:/path/to/db.gdb" (ie
> missing the /3050 did not work [I think it was an if ... if, rather than
> an if .. .else if ... condition).
>
> Do you mind checking that you can still specify the URL without the
> port#, in the new format, and in the old if that's still valid.
>
> I think it was the fact that the /3050 was considered optional but was
> actually needed, that threw a few people off (well me anyway).[ and that
> is still true of the binary download]
>
>
> Cheers
>
> Mark
>
>
>
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>