KuceraMartin / tyqu

Type-safe Queries
Apache License 2.0
50 stars 3 forks source link

A generic JDBC driver? #43

Open mbovel opened 1 year ago

mbovel commented 1 year ago

Random thought: it should be possible to derive the JDBC driver from a Connection using getMetaData and then getDriverName. So could we have a generic JDBCDriver automatically using the appropriate sub-driver?

Also, in the idea of supporting non-JDBC drivers, I would prefix the existing driver with JDBC, for example JDBC PostgreSqlQueryExecutor. What do you think?