BackPrevious Page Next PageNext

Example 3: Via SQL Server

Assume that:

Take the following steps to set up a connection which connects JReport Designer to a database via SQL Server:

  1. Start JReport Designer and open the catalog.
  2. In the Catalog Manager, right-click the node of the default data source and select New JDBC Connection from the shortcut menu. Click JDBC in the Select Connection Type dialog.
  3. In the Get JDBC Connection Information dialog, enter the JDBC driver class name com.microsoft.sqlserver.jdbc.SQLServerDriver in the Driver text field.
  4. In the URL text field, specify the URL as jdbc:sqlserver://db35.jinfonet.com.cn:1433;DatabaseName=test.
  5. Input the user name test and password 1234 respectively.

    Get JDBC Connection Information

  6. Click OK to set up the connection.

BackPrevious Page Next PageNext