Closed GoogleCodeExporter closed 9 years ago
Original comment by sergey.s...@gmail.com
on 20 Oct 2010 at 1:15
Issue 141 has been merged into this issue.
Original comment by sergey.s...@gmail.com
on 20 Oct 2010 at 1:37
It's just because you have omitted one space char between TAR_LANG + "TEXT NOT
NULL," and it produces "tarLang_sTEXT NOT NULL" field definition.
It means that field is named "tarLang_sTEXT" instead "tarLang_s" as you expect.
To fix it just add space char before "TEXT NOT NULL,", the same as you did it
for SRC_LANG field:
String createTableQuery = "CREATE TABLE " + TABLE_NAME + " (" + FILE_ID + " TEXT NOT NULL PRIMARY KEY , " + PROJECT_ID + " TEXT NOT NULL, " + SRC_LANG + " TEXT NOT NULL," + TAR_LANG + " TEXT NOT NULL," + STATUS_S + " TEXT NOT NULL )";
It fixes your example completely.
Original comment by sergey.s...@gmail.com
on 20 Oct 2010 at 1:54
Original comment by sergey.s...@gmail.com
on 21 Oct 2010 at 2:17
Original issue reported on code.google.com by
vishn...@gmail.com
on 20 Oct 2010 at 12:57