15. Mapping Tool Options


The mapping tool stores certain default options in a properties file called maptool.properties located in the schema repository directory. The settings in this file affect only the mapping tool and are not used at runtime by the persistence layer.

The properties file is a text file that is automatically created the first time you run the mapping tool, and which may be edited using any text editing tool. It follows the standard Java properties convention, in which each property is defined in a separate line using the format PropertyName=value.

The file contains two types of properties:

  1. User Options. These are options that specify a certain behavior, or a default setting. These properties are specifically provided to be edited if necessary.
  2. Internal Settings. These are settings that are automatically maintained by the mapping tool. There is usually no need to directly edit these properties.

The table below describes each property in detail:

User Options
Property Description
SaveWindowSize Specifies whether the mapping tool saves the size of its window. Valid values are: true, and false. Default value is true.
SaveWindowPosition Specifies whether the mapping tool saves the position of its window. Valid values are: true, and false. Default value is true.
LoadLastSchema Specifies whether the mapping tool automatically loads the last schema you worked on. Valid values are: true, and false. Default value is true.
Database.table.type Specifies the type(s) of table to list when displaying database table look-up help, and when generating a schema from database tables. Valid values are: table, view, table&view, and all. Default value is table.
Database.table.pattern Specifies a default table search pattern to use when displaying database table look-up help, and when generating a schema from database tables. See the About Search Patterns sidebar in section 10 for details.
Database.catalog.name Specifies a default catalog to use when displaying database table look-up help, and when generating a schema from database tables. See the About Catalogs and Schemas sidebar in section 10 for details.
Database.schema.pattern Specifies a default schema search pattern to use when displaying database table look-up help, and when generating a schema from database tables. See the About Search Patterns sidebar in section 10 for details.
Internal Settings
Property Description
window.size The last window size.
window.position The last window position.
schema.last The last schema loaded.
combobox.packages A comma separated list of saved package names used for combo box look-up help.

 

Return to Table of Contents