Subject | Re: JDBC driver for Firebird 2.5 |
---|---|
Author | shantanu_k06 |
Post date | 2011-01-01T20:18:06Z |
--- In Firebird-Java@yahoogroups.com, Mark Rotteveel <Avalanche1979@...> wrote:
The connection works when I use the following JDBC URL:
jdbc:firebirdsql://localhost/D:/temp/bituf.gdb
The connection fails when I use the one below:
jdbc:firebirdsql:D:/temp/bituf.gdb
The error I get is this:
GDS Exception. 335544721. Unable to complete network request to host "D".
What am I missing/doing wrong? Is it compulsory to provide host[:port] in the URL? The FAQ doesn't seem to say so:
http://www.firebirdsql.org/index.php?op=devel&sub=jdbc&id=faq#6
http://www.firebirdsql.org/index.php?op=devel&sub=jdbc&id=faq#20
However in the entire FAQ there isn't a single example that doesn't provide the "host" information in the URL.
Regards,
Shantanu
>I have this curious issue connecting to FB 2.5 on 32-bit Windows 7 using the JDBC driver 2.1.6 (on Sun JDK 1.6.23) from Maven repo.
> On 1-1-2011 16:22, shantanu_k06 wrote:
> > Hi,
> >
> > The latest version for Jaybird seems to be 2.1.6:
> > http://repo1.maven.org/maven2/org/firebirdsql/jdbc/jaybird/
> >
> > I want to understand whether it supports Firebird 2.5; if not, then whether an updated JDBC driver is being planned for, and if any expected timeline exists for the same?
>
> The Jaybird 2.1.6 driver will work to connect to Firebird 2.5.
The connection works when I use the following JDBC URL:
jdbc:firebirdsql://localhost/D:/temp/bituf.gdb
The connection fails when I use the one below:
jdbc:firebirdsql:D:/temp/bituf.gdb
The error I get is this:
GDS Exception. 335544721. Unable to complete network request to host "D".
What am I missing/doing wrong? Is it compulsory to provide host[:port] in the URL? The FAQ doesn't seem to say so:
http://www.firebirdsql.org/index.php?op=devel&sub=jdbc&id=faq#6
http://www.firebirdsql.org/index.php?op=devel&sub=jdbc&id=faq#20
However in the entire FAQ there isn't a single example that doesn't provide the "host" information in the URL.
Regards,
Shantanu