[#6493] XMLDatabase doesn't work when dialect is not a SQLDialect.family()
This commit is contained in:
parent
a8b8b9aa1f
commit
a8401f1644
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user