Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [JDBC] JDBC driver class

From: Albe Laurenz <laurenz.albe(at)wien.gv.at>
Date: Fri Jan 04 2008 - 03:30:44 EST


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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
Do you need help?X

               http://www.postgresql.org/docs/faq Received on Fri Jan 4 03:33:25 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:42:02 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library