sam98uele / DB2Project_EJB

3 stars 0 forks source link

Bug #13

Closed mattia1p closed 3 years ago

mattia1p commented 3 years ago

@alessandriniluca In getAllQuestionnaireAnsweredBySpecificUserAndProduct the questionnaire returned should be one,not a list, because one user should answer only one questionnaire

alessandriniluca commented 3 years ago

Yes, I apologize but I made previous changes just a little bit before lunch in a hurry ;) I am fixing it right now. I still get a list from the query: this allow me to perform a particular check: in such a way I can control one more time that I don't get more than one result (in this case, there would be some problems in the insertion part). Then, if: