Customizing and binding SQLJ profiles in projects (DB2)

If you are using DB2®, you can use the DB2SQLJCustomize wizard to generate and run an SQLJ customization script in your SQLJ-enabled project. Running a customization script adds run-time information to the SQLJ serialized profiles in your project that is specific to DB2 and binds the profiles to the database. After you customize and bind the SQLJ profiles in a project, you can customize and bind only the profiles that are associated with an updated SQLJ file in the project.
Prerequisites:

To customize and bind the SQLJ profiles in a project:

  1. In the Package Explorer view of the Java perspective, right-click the Java project that contains SQLJ profiles, and then click Customize/Bind SQLJ Profiles on the pop-up menu.
  2. Complete the DB2SQLJCustomize wizard, and then click Run.
The progress and results of the customize and bind processes are shown in the Console view. By default, this view is not shown. To see the progress and results in the Console view:
  • If the Console view is open in the workbench, click the Console tab.
  • If the Console view is not open in the workbench, click Window > Show View > Console.
You can set a preference to show the Console view automatically.

Feedback