pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dallas Hockley <hockleyd@cybersoft.ab.ca>
To: Jeffrey Napolitano <jnapoli@setech.com>
Cc: Interface to PostgreSQL <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] "static" libraries?
Date: Thu, 16 Jul 1998 12:24:00 -0600
Message-ID: <35AE4540.BB5C6407@cybersoft.ab.ca> (raw)
References: <35AE3E10.E6BEE86B@setech.com>

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



view thread (6+ messages)  latest in thread

Message-ID: <35AE4540.BB5C6407@cybersoft.ab.ca>
Permalink:  ../35AE4540.BB5C6407@cybersoft.ab.ca/
Also on:    postgresql.org/message-id/35AE4540.BB5C6407@cybersoft.ab.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: hockleyd@cybersoft.ab.ca, jnapoli@setech.com
  Subject: Re: [INTERFACES] "static" libraries?
  In-Reply-To: <35AE4540.BB5C6407@cybersoft.ab.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox