Re: [INTERFACES] "static" libraries?

From: Dallas Hockley <hockleyd(at)cybersoft(dot)ab(dot)ca>
To: Jeffrey Napolitano <jnapoli(at)setech(dot)com>
Cc: Interface to PostgreSQL <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] "static" libraries?
Date: 1998-07-16 18:24:00
Message-ID: 35AE4540.BB5C6407@cybersoft.ab.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)cybersoft(dot)ab(dot)ca

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message David Gould 1998-07-16 18:29:26 Re: [INTERFACES] Re: [HACKERS] changes in 6.4
Previous Message Bruce Momjian 1998-07-16 18:11:12 Re: [DOCS] Re: [INTERFACES] libpq & user