Generator Settings

The following parameters may be passed when performing the build and control the behavior of the Cúram Generator. These parameters should be passed in the following way build server -Dextra.generator.options=-setting1 -setting2.

These settings are:

Table 1. Generator Settings

Option

Meaning

-nomessage <nnnnn>

Prevent the message with this number from being displayed or acted upon. Note that this can be used to suppress errors which would normally cause the generator to terminate. Doing so can cause the generator to behave unpredictably or produce code which cannot be built.

-primarykeyconstraintprefix <prefix>

Specify a prefix to be applied to primary key constraint names in IBM® DB2® and Oracle Database. See the Cúram Modeling Reference Guide for more details.

-primarykeyindexprefix <prefix>

Specify a prefix to be applied to primary key index names in DB2. See the Cúram Modeling Reference Guide for more details.

-progresslevel <n>

Specify the level of progress to be reported by the generator.

-nonamedprimarykeyconstraint

Specify that names should not be provided for the primary keys. This is off by default i.e. primary keys are named. See the Cúram Modeling Reference Guide for more details.

-nonamedforeignkeyconstraint

Specify that names should not be provided for the foreign keys. This is off by default, i.e., foreign keys are named. See the Cúram Modeling Reference Guide for more details