[TIMOB-649] Android: DB values are being forced to String
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Hold |
Resolution Date | 2011-04-15T02:33:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Backlog |
Components | Android |
Labels | android, defect |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T02:33:44.000+0000 |
Updated | 2017-03-07T19:33:04.000+0000 |
Description
See http://developer.appcelerator.com/question/6641/android-fieldbyname-bool-inconsistencies"> Q&A
Looking through the code, I noticed that every type was being forced to String. Must be a porting error from 0.8.
Short of re-implementing the entire android SQLite package, there is no way to determine the underlying column type for a select. The caller will just have to know what type he/she wants and force it.
Ok vote/comment for this to be fixed over at Android bug section http://bit.ly/bsLdhw">Issue 2019: No way to extract arbitrary Object from Cursor
Closing ticket due to time passed.