Re: JDBC driver class - Mailing list pgsql-jdbc

From Albe Laurenz
Subject Re: JDBC driver class
Date
Msg-id D960CB61B694CF459DCFB4B0128514C2BCAE78@exadv11.host.magwien.gv.at
Whole thread Raw
In response to JDBC driver class  ("Jake Aderholdt" <icedcold@googlemail.com>)
List pgsql-jdbc
Jake Aderholdt wrote:
> For Macs this requires the JDBC driver. I have downloaded the driver:
> postgresql-8.2-507.jdbc3, added it to NeoOffice via preferences, java,
> classpath, "add archive".
> I then restarted NeoOffice, chose  "Connect to existing database", and
> chose JDBC. The next dialog box asks me for the "Datasource URL" and
> the "JDBC driver class".
> My problem is that I do not know what either the "Datasource URL" or
> the "JDBC driver class" is. How can I get this information and
> consequently input the correct data to text box?

The documentation can be found at
http://jdbc.postgresql.org/documentation/82/index.html

In Chapter 3 (Loading the Driver) you will find that the JDBC driver class is

org.postgresql.Driver

In Chapter 3 (Connecting to the Database) you will find a description
of the JDBC URL and the various connection parameters.

Yours URL will probably look like

jdbc:postgresql://dbserver.company.com:5432/databasename

Yours,
Laurenz Albe

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Timestamp problem
Next
From: Peter Eisentraut
Date:
Subject: Re: Timestamp problem