Sqlite is pretty much a mess regarding schema types reflecting result set types. The former is barely typed, lots of
strings etc., while the latter is more specific. However, since schema types correspond with schema column types, we have
to do better.
Here is an attempt to improve the situation. The logic used here is taken from, ironically, the sqlite JDBC3ResultSet#getColumnType()
implementation, which unlike DatabaseMetadata#getColumns() + getString("DATA_TYPE"), gets it mostly right.
todo: make another dependency interface for this?