Creation Options
On a database
It is possible to configure synchronization for each database in order to modify:
• Its creation options
• Processing of repository integrity (keys OnDelete or OnUpdate as a function of the possibilities offered by the DBMS target)
This configuration also concerns processing of the Not Null columns and the automatic creation of indexes on primary keys.
To configure the creation options for the database:
1. Right-click the database and select Properties.
The properties window appears.
2. Click Options > Synchronization.
The corresponding options appear.
You can specify the following parameters:
• Columns Not Null activates/deactivates the WITH DEFAULT option for Not Null columns.
• OnDelete: key deletion default strategy. Possible values are:
• Restrict: deletion is refused.
• Cascade: deletion of a column is reflected in dependent tables.
• Set Null: indicates "Null".
• Set Default: gives the default value if this is specified. If no default value is specified, nothing occurs ("No action").
• No Action: nothing occurs.
• OnUpdate: key update default strategy.
• Names cols PK auto: columns derived from the implicit identifier. See
General rule.
On the DBMS
The default values for database synchronization and generation parameters are accessible in the properties dialog box of the DBMS used.
To display DBMS synchronization parameters:
1. In the edit area, click the Main Menu button then Advanced Search.
2. Select the object type "DBMS Version" and click on Find.
3. Right-click the target DBMS name and open its Properties dialog box.
4. Click Options > Synchronization.
By default, the parameters specified at the DBMS levels are valid for all new databases. When you modify synchronization parameters on a database, this database no longer takes account of DBMS parameters.