Because the problem is that DatabaseInfoDialectResolver is not always enough information. DatabaseInfoDialectResolver is passed information about the database, not the driver. There are times (our own DataDirectOracle9Dialect e.g.) when you really need to select a Dialect based on driver info.
In terms of schema generation, "database info" is always enough. Where this can be problem is runtime.
|