If you are developing SQLJ applications for DB2®, you can improve runtime performance
by customizing and binding the SQLJ profiles to the database.
Customize and bind processes for DB2
Running a customization script adds runtime information to the SQLJ serialized profiles in your project that is specific to DB2 and binds the profiles to the database.
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.
Customizing and binding SQLJ profiles for updated SQLJ files (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.
SQLJ restrictions for DB2
The following restrictions apply to DB2 applications that contain SQLJ files.