Open rsmckinney opened 1 year ago
Sqlite only supports 5 types of data. That function is supposed to return what types are supported, not all jdbc types.
It seems you don't have much understanding on the sqlite type and affinity system, I suggest you read their documentation first.
This issue is a JDBC issue, where types are meaningful. I fully understand SQLite’s loose type system. This issue is about complying with JDBC where table column metadata must agree with query column metadata. Otherwise, your current driver implementation is useless to code generators.
Let me give you an example.
A Java class generated from a table based on metadata obtained from your driver would result in accessors returning strings and integers for columns typed as DATE, TIMESTAMP, TIME, etc. does that sound right to you?
The result returned from
DatabaseMetadata#getTypeInfo()
is a very small (useless) subset of the SQL types sqlite provides.