davidjanmercado / sqlite-jdbc

Automatically exported from code.google.com/p/sqlite-jdbc
Apache License 2.0
0 stars 0 forks source link

ResultSetMetaData is inconsistent for decimal columns #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If a table contains a decimal column, the ResultSetMetaData returned for the 
query gives different type information for that column depending upon the order 
of the results.  If the first row is an integer value, the ResultSetMetaData 
returns Types.INTEGER instead of Types.FLOAT or Types.DECIMAL as would be 
expected.

The attached patch demonstrates the issue.

Original issue reported on code.google.com by ajuc...@gmail.com on 5 Oct 2011 at 1:03

Attachments:

GoogleCodeExporter commented 8 years ago
for REAL columns too.

Original comment by satoshi....@gmail.com on 7 Nov 2012 at 4:53