tschallacka / sqlite4java

Automatically exported from code.google.com/p/sqlite4java
0 stars 0 forks source link

Change visibility of SQLiteStatement.getColumnType to public #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It can be very useful to know the exact type of a column. Please change 
visibility of getColumnType to public.

Workaround: use reflection ;)

Original issue reported on code.google.com by olivier....@free.fr on 23 Jul 2010 at 7:32

GoogleCodeExporter commented 9 years ago
Another workaround: use columnValue() and inspect the class of the returned 
object

Original comment by ser...@gmail.com on 23 Jul 2010 at 1:26

GoogleCodeExporter commented 9 years ago
Added columnType() method

Original comment by ser...@gmail.com on 27 Jul 2010 at 9:05

GoogleCodeExporter commented 9 years ago

Original comment by ser...@gmail.com on 27 Jul 2010 at 11:27

GoogleCodeExporter commented 9 years ago
Thanks, it's really usefull. May be it can be interesting to add a 
"columnDeclaredType" method that call "sqlite3_column_decltype".

Original comment by olivier....@free.fr on 30 Jul 2010 at 2:37