greenDAO
greenDAO copied to clipboard
SQLiteException: no such column: T.SONG_ID (code 1): , while compiling: SELECT T."SONG_ID",T."ALBUM_ID",T."TITLE",T."ARTIST",T."DURATION",T."DATA",T."IS_FAVORITE",T."ALBUM" FROM "tb_music" T
trafficstars
旧版本的app里,我用了ormlike,现在想换成greeDao,出现了这个错误
Well, make sure your table has a SONG_ID column. Or you can specify the name a class field should have using @Property(nameInDb = "SONG_ID").
http://greenrobot.org/greendao/documentation/modelling-entities/#Basic_properties
-- Check out ObjectBox, our new fast, easy to use database!