
# Oracle配置
设置Oracle配置参数可在迁移Oracle数据库脚本时自定义迁移工具的行为。
打开conf文件夹中的antlr-features-oracle.properties文件，并根据实际需要设置[表1 antlr-features-oracle.properties文件中的配置参数]中的参数。
 表1antlr-features-oracle.properties文件中的配置参数 
| **参数**                                                                                                                                                                      | **说明**                                         | **取值范围**                                                                                                                                                                                                                                                             | **默认值**                                                                                                                                                      | **样例**                          |
|:---|:---|:---|:---|:---|
| - table.index.rename        | 操作索引时，是否重新命名索引名"表名_索引名"。                       | - true  - false        | - false        | table.index.rename=false        |
| - table.constraint.rename         | 操作约束时，是否重新命名约束名"表名_约束名"                        | - true  - false             | - false    | table.constraint.rename=false   |
| - table.foreign.key.comment   | 是否注释外键约束                                       | - true  - false       | - true      | table.foreign.key.comment=true  |
| - table.storage.para.comment   | 存储参数是否注释                                       | - true  - false          | - true    | table.storage.para.comment=true |
| - table.plsql.exception         | 是否注释PL/SQL中的异常模块,默认值为true,注释异常模块               | - true  - false   | - true          | table.plsql.exception=true;     |
| - table.create.inSensitive     | 是否对列字段进行小写转换，默认为true，进行小写转换，false为与原sql保持大小写一致 | - true  - false       | - true   | table.create.inSensitive=true   |
| - table.plsql.pkgConvert   | 当前是否进行包替换，默认为false，进行普通转换，true进行包变量替换          | - true  - false   | - false       | table.plsql.pkgConvert=false    |
   
