Subject | Connection Java_Firebird |
---|---|
Author | Fernando Dominguez |
Post date | 2003-09-01T12:08:12Z |
Hy,
i´m trying to make a connection between java and
Firebird using Applet and i can´t make a connection
i`m using the following comands below, is there
something wrong ? In which kind of connection i have
to pass the door of database ?
try
{
Class.forName ("org.firebirdsql.jdbc.FBDriver");
con =
DriverManager.getConnection("jdbc:firebirdsql:192.168.1.181:Apps/Diversos/Dados/Java.GDB",
"sysdba","masterkey");
Statement stmt = null;
stmt = con.createStatement();
return true;
}
catch (Exception erro)
{
return false;
}
Yours faithfully,
=====
Fernando Dominguez
_______________________________________________________________________
Desafio AntiZona: participe do jogo de perguntas e respostas que vai
dar um Renault Clio, computadores, câmeras digitais, videogames e muito
mais! www.cade.com.br/antizona
i´m trying to make a connection between java and
Firebird using Applet and i can´t make a connection
i`m using the following comands below, is there
something wrong ? In which kind of connection i have
to pass the door of database ?
try
{
Class.forName ("org.firebirdsql.jdbc.FBDriver");
con =
DriverManager.getConnection("jdbc:firebirdsql:192.168.1.181:Apps/Diversos/Dados/Java.GDB",
"sysdba","masterkey");
Statement stmt = null;
stmt = con.createStatement();
return true;
}
catch (Exception erro)
{
return false;
}
Yours faithfully,
=====
Fernando Dominguez
_______________________________________________________________________
Desafio AntiZona: participe do jogo de perguntas e respostas que vai
dar um Renault Clio, computadores, câmeras digitais, videogames e muito
mais! www.cade.com.br/antizona