[#7271] Generator doesn't select appropriate DataType for Columns using an enum from another schema

This commit is contained in:
lukaseder 2018-03-09 14:43:24 +01:00
parent 02ab3c6f9e
commit fbcfa175da

View File

@ -249,7 +249,7 @@ abstract class AbstractTypedElementDefinition<T extends Definition>
s = result.getScale();
String t = result.getType();
Name u = result.getQualifiedUserType();
result = new DefaultDataTypeDefinition(db, child.getSchema(), t, l, p, s, n, d, u, converter, binding, uType);
result = new DefaultDataTypeDefinition(db, definedType.getSchema(), t, l, p, s, n, d, u, converter, binding, uType);
}
// [#4597] If we don't have a type-rewrite (forcedDataType) or a