JDBC-IE5-no suitable driver

Поиск
Список
Период
Сортировка
От Christoph Fister
Тема JDBC-IE5-no suitable driver
Дата
Msg-id 3891BF11.1C0941F6@uni-muenster.de
обсуждение исходный текст
Список pgsql-interfaces
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


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Uillian Fernandes"
Дата:
Сообщение: PostGreSQL on Windows NT/9X.
Следующее
От: Constantin Teodorescu
Дата:
Сообщение: How to get the X or Y coordinate from a point field?