storm-gen icon indicating copy to clipboard operation
storm-gen copied to clipboard

Add support for non int Primary Key

Open brh opened this issue 10 years ago • 1 comments

For our app we need to have a String/Text as the primary key. Can this be considered.

brh avatar Aug 22 '14 20:08 brh

Yes, I think so, but an additional Long @Id field will still be required since CursorAdapter expects an _id field. I could add a @PrimaryKey annotation.

turbomanage avatar Aug 25 '14 03:08 turbomanage