JDBC Fixture wizard

This is a feature of JBuilder Enterprise.

The JDBC Fixture wizard generates a fixture class for managing JDBC connections within your unit tests. For more information, see "JDBC fixture" in Building Applications With JBuilder. For a tutorial which creates a JDBC fixture and uses it in a test case, see "Tutorial: Working with test fixtures."

Make A JDBC Fixture

This is a feature of JBuilder Enterprise.

This page specifies the package and class information for the new JDBC fixture.

Package

Indicates the package to which the new fixture belongs.

Class Name

Indicates the class name for the new fixture.

Base Class

Indicates the parent class of the JDBC Fixture. The default is com.borland.jbuilder.unittest.JdbcFixture.

Specify JDBC Connection Details

This is a feature of JBuilder Enterprise.

This page specifies the JDBC connection you want the fixture to use and allows you to test the connection.

Choose Existing Connection

Chooses an existing JDBC connection.

Driver

Select a JDBC driver from the drop-down list. Note that if a driver is shown in red, it means that the driver is not set up properly.

URL

Indicates the URL for the JDBC connection. Click the ellipsis button to create a new URL.

User Name

Indicates the user name to use for connecting to the data source.

Password

Indicates the password to use for connecting to the data source.

Extended Properties

Indicates any extended properties necessary for this connection. Click the ellipsis button to display the extended properties dialog box.

Test Connection

Click the Test Connection button to verify that the connection is set up properly.