pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Fister <fister@uni-muenster.de>
To: pgsql-interfaces@postgresql.org
To: fister@uni-muenster.de
Subject: IE5 - no suitable driver
Date: Fri, 28 Jan 2000 16:53:15 +0100
Message-ID: <3891BB6B.8E3D0B56@uni-muenster.de> (raw)

running Microsoft's IE 5 ends in trouble when I start an applet that
should
display the result of a database access via jdbc under postgresql 6.4.2.
Although the jdbc-driver seems to be successfully loaded because
the initial try-block
   try { Class.forName("postgresql.Driver"); }
   catch(Exception e) { ... } 
throws no exception or error message
the following try-block 
   try {
          Vector results = new Vector();
          Connection con = DriverManager.getConnection(url, user,
passwd);
          Statement stmt = con.createStatement();
          ResultSet rs = stmt.executeQuery(query);
          ....
       }
   catch(SQLException ex)
       {
           System.out.println("SQLException: " + ex.getMessage());
       }
throws a SQLException and reports:

        "SQLException: no suitable driver"

running Netscapes Navigator, the same applet displays the result of the
database query via jdbc under postgresql 6.4.2 without any exception or
error.

thanks

Christoph Fister
fister@uni-muenster.de



Message-ID: <3891BB6B.8E3D0B56@uni-muenster.de>
Permalink:  ../3891BB6B.8E3D0B56@uni-muenster.de/
Also on:    postgresql.org/message-id/3891BB6B.8E3D0B56@uni-muenster.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: fister@uni-muenster.de
  Subject: Re: IE5 - no suitable driver
  In-Reply-To: <3891BB6B.8E3D0B56@uni-muenster.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox