[#6493] XMLDatabase doesn't work when dialect is not a SQLDialect.family()

This commit is contained in:
lukaseder 2017-08-23 11:24:00 +02:00
parent a8b8b9aa1f
commit a8401f1644

View File

@ -201,7 +201,9 @@ public class XMLDatabase extends AbstractDatabase {
}
catch (Exception ignore) {}
return DSL.using(dialect);
// [#6493] Data types are better discovered from the family, not the dialect. This affects the XMLDatabase,
// for instance. Other databases are currently not affected by the family / dialect distinction
return DSL.using(dialect.family());
}
@Override