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:
- In the Package Explorer, right-click the Java project and select Properties.
- In the Properties window, select Database
Connection in
the navigation tree.
- 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.
- Click OK.