JDBC Problem
От | tony |
---|---|
Тема | JDBC Problem |
Дата | |
Msg-id | 004801c04fdd$208de230$32fea8c0@tonydesktop обсуждение исходный текст |
Ответ на | Re: OT: Heterogenous networks (Joachim Achtzehnter <joachim@kraut.ca>) |
Ответы |
Re: JDBC Problem
|
Список | pgsql-interfaces |
I have a problem with loading the JDBC Driver. So far, my java code does nothing but to load the driver, and it gives SQLException with message "No suitable driver". I made the postgresql.jar with >make jdbc2 (because I am using jdk1.3) and I used >jar tf postgresql.jar to make sure that the driver was included. (postgresql/Driver.class) My CLASSPATH is following: :/usr/local/lib/postgresql.jar:/usr/local/jdk1.3/bin/:/home/tony/classes/ I am trying to load the driver by doing >Class.forName("postgresql.Driver"); This is under linux platform. Please let me know what could be wrong if you see anything wrong. Thanks!
В списке pgsql-interfaces по дате отправления: