I have to set composite primary key. how to do it? set tow @Id on fileds?
Activity
greenrobot-team commentedon Jun 26, 2017
Keep the regular
@Id Long id
. But define a unique index over the properties that you want to use as the actual identifier:-ut
greenrobot-team commentedon Jul 18, 2017
Thumbs up, so closing. -ut