Tieni il tuo @Insert metodo restituisce un long :
@Insert
long insertStudent(Student s);
Il valore restituito sarà rowId della riga e dovrebbe essere il valore della chiave primaria generata automaticamente.
Tieni il tuo @Insert metodo restituisce un long :
@Insert
long insertStudent(Student s);
Il valore restituito sarà rowId della riga e dovrebbe essere il valore della chiave primaria generata automaticamente.