8

GreenDAO - primary key on multiple columns

view full story
linux-howto

http://stackoverflow.com – Does GreenDAO support primary key on multiple columns? I'm using Property's method primaryKey() on two columns but it doesn't work. I'm getting exception: Caused by: android.database.sqlite.SQLiteException: table "table" has more than one primary key How to create primary key on multiple columns? Should I edit generated DAO classes? (HowTos)