Loading jdbc6.5-1.2.jar via forName()

Поиск
Список
Период
Сортировка
От Wayne Johnson
Тема Loading jdbc6.5-1.2.jar via forName()
Дата
Msg-id 3A32B781.511493A8@yahoo.com
обсуждение исходный текст
Ответы Re: Loading jdbc6.5-1.2.jar via forName()  (Steve Waldman <swaldman@mchange.com>)
Список pgsql-novice
I've installed postgresql-6.5 (client, server & jdbc) on my Linux
system.  I've copied the jdbc6.5-1.2.jar file to the directory where my
html and application class file is located.  When the java code calls
forName("postgresql.Driver"), it just stalls.  I even tried renaming
jdbc6.5-1.2.jar to postgresql.jar, but that didn't seem to help either.

If I extract the jar file into a postgresql directory, it seems to work.

How do I get forName to load from the jar file?

Thanks.


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

Предыдущее
От: Gérard TOURRES
Дата:
Сообщение: Query optimisation
Следующее
От: Steve Waldman
Дата:
Сообщение: Re: Loading jdbc6.5-1.2.jar via forName()