Using the Microsoft SQL Server JDBC Driver

By default, after installing ESD #5 or later, the new Replication Agent for Microsoft SQL Server instances that you create are configured to use the Microsoft SQL Server JDBC driver. You can use this driver on both Windows and UNIX systems.

StepsTo use the Microsoft SQL Server JDBC driver

  1. Retrieve the Microsoft SQL Server JDBC driver http://msdn.microsoft.com/data/ref/jdbc/ (enter the URL all on one line), and install the JDBC driver on the same machine on which the Replication Agent is running or where Replication Agent can access it.

  2. Before starting the Replication Agent, add the location of the JDBC driver to the CLASSPATH environment variable:

    where:

    Click Apply and then OK.

  3. For an existing Replication Agent for Microsoft SQL Server instance to retrieve the new value for the CLASSPATH environment, do the following:

  4. For an existing Replication Agent for Microsoft SQL Server instance, in ADMIN mode, configure the pds_connection_type to use the Microsoft SQL Server JDBC driver:

     ra_config pds_connection_type, MSSQLJDBC
    

    Then stop and restart the existing instance.

    NoteFor new instances of Replication Agent for Microsoft SQL Server that you create after applying ESD #5 or later, MSSQLJDBC is the default value.

  5. In Replication Agent, configure the following properties using values appropriate for the primary Microsoft SQL Server:

    ra_config pds_server_name, <server>ra_config pds_port_number, <port>ra_config pds_database_name, <database>ra_config pds_username, <ra_user>ra_config pds_password, <ra_pwd>
    

    For more information, see the Replication Agent Administration Guide.