Re: JDBC driver class

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: JDBC driver class
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C2BCAE78@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на JDBC driver class  ("Jake Aderholdt" <icedcold@googlemail.com>)
Список 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 по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Timestamp problem
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Timestamp problem