To connect to SQL, use the information provided in Table 1–7 to complete the Connect to Database step of the JDBC/ODBC OTD Wizard. To access SQL, it is recommended to use the SQL Server eWay Adapter.
Table 1–7 PostgreSQL Driver Connection Information
Parameter |
Value |
---|---|
Driver Jar Files |
postgresql-8.0-310.jdbc3.jar |
Driver Java Class Name |
org.postgresql.Driver |
URL Connection String |
jdbc:postgresql://server-name:server-port/database-name Note – NOTE: Default server port is 5432. |
User Name |
Login name of the account used to access the database. |
Password |
Password associated with the login account name used to connect to the database. |
Use Table 1–8 to configure the environment properties for the specified JDBC/ODBC driver.
Table 1–8 PostgreSQL Driver Environment Properties
Parameter |
Value |
---|---|
Description |
JDBC Connection Pool Datasource |
ClassName |
org.postgresql.jdbc3.Jdbc3ConnectionPool |
ClassNamefor OtherInterfaces | |
ServerName |
Server name of the machine hosting the database. |
PortNumber |
server-port Note – NOTE: Default server port is 5432. |
DatabaseName |
database-name |
User |
Login name of the account used to access the database. |
Password |
Password associated with the login account name used to connect to the database. |
DriverProperties | |
Delimiter |
The default is #. |
DataSourceName | |
MinPoolSize |
The default is 0. |
MaxPoolSize |
The default is 10. |
MaxIdleTime |
The default is 0. |
It is not mandatory to enter driver properties in the Outbound JDBC eWay Environment properties for PostgreSQL.