Registering the ActiveSpaces JDBC Driver with the Driver Manager

Use the class name, com.tibco.datagrid.jdbc.DriverImpl when registering the ActiveSpaces JDBC driver or configuring other software to use the ActiveSpaces JDBC driver.

Prerequisites

Complete the steps listen in .

Procedure

  • Use the following code snippet to register the ActiveSpaces JDBC driver with the JDBC DriverManager:
     // Register the ActiveSpaces JDBC Driver with the JDBC DriverManager
                try
                {
                    Class.forName("com.tibco.datagrid.jdbc.DriverImpl");
                }
                catch (ClassNotFoundException ex)
                {
                    // handle exception
                }

What to do next

After registering the driver, the next step is Creating the ActiveSpaces JDBC Connection.