模式生成期间迁移元数据错误故障排除

Nuodb迁移器包含MSSQL,PostgreSQL,MySQL,Oracle和DB2的所有标准JDBC类型和特定于供应商的类型的数据类型注册。 模式生成期间的元数据错误,“Unsupported type VARCHAR, type code 12, length 20 on table datatypes1 column c1”例如,表示需要将一种类型介绍给Nuodb迁移器:

nuodb-migrator schema ... --type.code=12 --type.name=varchar(n)

A SQL type name template --type.name can contain placeholders, that will be substituted with type specifiers during type name creation, where p is a placeholder for a precision,s is a scale and n is a maximum size.