Re: [INTERFACES] "static" libraries?

Поиск
Список
Период
Сортировка
От Dallas Hockley
Тема Re: [INTERFACES] "static" libraries?
Дата
Msg-id 35AE4540.BB5C6407@cybersoft.ab.ca
обсуждение исходный текст
Ответ на "static" libraries?  (Jeffrey Napolitano <jnapoli@setech.com>)
Ответы Re: [INTERFACES] "static" libraries?  (Peter T Mount <peter@taer.maidstone.gov.uk>)
Список pgsql-interfaces
Jeffrey Napolitano wrote:
>
> I have a Java application which uses JDBC, and it is going to put on a
> few different machines using postgres and postgres's JDBC driver.  My
> question is this:  Is there a method of *including* the JDBC driver into
> the Java application?  An equivalent to statically linking a library in


This can be done by "unjarring" the postgresql jdbc driver jar in the
base class directory of your app/let and then jar'ring the entire
distribution into one file.  The relative class resolution must be
correct, and it will work....

Good Luck.

Dallas

Dallas Hockley
hockleyd@cybersoft.ab.ca

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [DOCS] Re: [INTERFACES] libpq & user
Следующее
От: dg@illustra.com (David Gould)
Дата:
Сообщение: Re: [INTERFACES] Re: [HACKERS] changes in 6.4