I want to auto generate
ID // auto but not primary
Column and set
productID // primary not auto
as the primary key... Is it possible or my idea is wrong...? if my idea is wrong then please give me the write info... thanks
//@PrimaryKey(autoGenerate = true)
@Nullable // I want to autogenerate this "ID" column
private long ID;
@ColumnInfo(name = "pCategorySubID")
@SerializedName("pCategorySubID")
@Expose
private String pCategorySubID;
@PrimaryKey // this is my primary key
@ColumnInfo(name = "ProductID")
@SerializedName("ProductID")
@Expose
@NonNull
private String productID;