Subject | Re: Connection Java_Firebird |
---|---|
Author | dj_begemot |
Post date | 2003-09-01T12:16:59Z |
--- In Firebird-Java@yahoogroups.com, Fernando Dominguez
<fdominguezbr@y...> wrote:
stack trace). Your code seems to be correct. But first thing in my
mind is that Applets forbidden by JVM to obtain network connections,
except only host, from which Applet was loaded. If its not the case,
provide stack trace of Exception.
Best regards,
Ruslan Cheremin.
_
<fdominguezbr@y...> wrote:
>("jdbc:firebirdsql:192.168.1.181:Apps/Diversos/Dados/Java.GDB",
> 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
> "sysdba","masterkey");Is' hard to speak something without error messages (or, better, full
> Statement stmt = null;
> stmt = con.createStatement();
> return true;
> }
> catch (Exception erro)
> {
> return false;
> }
>
stack trace). Your code seems to be correct. But first thing in my
mind is that Applets forbidden by JVM to obtain network connections,
except only host, from which Applet was loaded. If its not the case,
provide stack trace of Exception.
Best regards,
Ruslan Cheremin.
> Yours faithfully,______________________________________________________________________
>
>
> =====
> Fernando Dominguez
>
>
_
> Desafio AntiZona: participe do jogo de perguntas e respostas que vaimuito
> dar um Renault Clio, computadores, câmeras digitais, videogames e
> mais! www.cade.com.br/antizona