Changing the default schema for a Java project

In a Java™ project, the authorization ID for the associated database connection is used as the default schema in SQL statements in generated code. You can specify a different current schema.

Procedure

To change the default schema for a Java project:

  1. In the Package Explorer, right-click the Java project and select Properties.
  2. In the Properties window, select Database Connection in the navigation tree.
  3. Change the settings as needed in the Default schema and Default path fields.
    Attention: The Default path field appears only if your project is associated with a DB2® database.
  4. Click OK.

Feedback