Subject | Re: [Firebird-Java] Re: Connection Java_Firebird |
---|---|
Author | Fernando Dominguez |
Post date | 2003-09-01T19:14:08Z |
--- dj_begemot <cheremin@...> escreveu:
---------------------------------
--- In Firebird-Java@yahoogroups.com, Fernando
Dominguez
<fdominguezbr@y...> wrote:
(or, better, full
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.
Ok,
i will check, thanks for help.
Best regards,
=====
Fernando Dominguez
_______________________________________________________________________
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção contra spam.
http://br.mail.yahoo.com/
---------------------------------
--- In Firebird-Java@yahoogroups.com, Fernando
Dominguez
<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
> Statement stmt = null;
> stmt = con.createStatement();
> return true;
> }
> catch (Exception erro)
> {
> return false;
> }
>
(or, better, full
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
>
>
Ok,
i will check, thanks for help.
Best regards,
=====
Fernando Dominguez
_______________________________________________________________________
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção contra spam.
http://br.mail.yahoo.com/