Re: [INTERFACES] "static" libraries?
От | Peter T Mount |
---|---|
Тема | Re: [INTERFACES] "static" libraries? |
Дата | |
Msg-id | Pine.LNX.3.96.980721133256.2998J-100000@taer.maidstone.gov.uk обсуждение исходный текст |
Ответ на | Re: [INTERFACES] "static" libraries? (Dallas Hockley <hockleyd@cybersoft.ab.ca>) |
Список | pgsql-interfaces |
[email problems within maidstone.gov.uk has delayed this response - peter] On Thu, 16 Jul 1998, Dallas Hockley wrote: > 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.... It will work that way. The down side to this is that if a newer version of the driver is released, then you have to rebuild your application jar file. -- Peter Mount (at work) peter@taer.maidstone.gov.uk or peter@maidstone.gov.uk If you mail me here, please cc my home address peter@retep.org.uk
В списке pgsql-interfaces по дате отправления: