Subject | RE: [firebird-support] Inoltra: Problems with release FireBird 1.5 |
---|---|
Author | Thomas Steinmaurer |
Post date | 2004-03-22T12:01:34Z |
> Hi,The FAQ document, included in the JayBird release, includes an example
> i try to use the new relase 1.5 of FireBird.
>
> My problems became from java.
> I create a java class, like this
>
> >>>>
> import java.sql.*;
> import org.firebirdsql.jdbc.FBConnection;
>
> public class connect {
>
> public static void main(String[] args) {
>
> try{
> Class.forName("org.firebirdsql.jdbc.FBDriver");
> }
> catch(ClassNotFoundException clsNFNDEXCP){
> System.out.println(clsNFNDEXCP.getMessage());
> }
>
> String URL = "jdbc:firebirdsql://127.0.0
> 1/d:/programmi/Firebird/DBase/build.fdb";
> String User = "SYSDBA";
> String Pwd = "masterkey";
for a valid connect string that looks like:
jdbc:firebirdsql:localhost/3050:E:\\database\\carwash.gdb
Give the following connect string a try:
jdbc:firebirdsql:127.0.0.1/3050:D:\\programmi\\Firebird\\DBase\\build.fdb
Btw, there is a Firebird Java related newsgroup as well.
Have a look here (watch the wrap!):
http://www.ibphoenix.com/main.nfs?a=ibphoenix&s=1079956253:167880&page=ibp_groups
Scroll down to the "The Firebird-Java List" section.
HTH,
Thomas Steinmaurer
LogManager Serie - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database and MS SQL Server
Upscene Productions
http://www.upscene.com