Skip to content

Commit

Permalink
SAK-29236 Ensure that the record has been flushed before to retrieve …
Browse files Browse the repository at this point in the history
…the full scores list from db again to calculate the average score
  • Loading branch information
sinmsinm committed Apr 7, 2015
1 parent 9f854b4 commit ceb95fc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ public Object doInHibernate(Session session) throws HibernateException,
public void savePeerAssessmentItem(PeerAssessmentItem item){
if(item != null && item.getAssessorUserId() != null && item.getSubmissionId() != null){
getHibernateTemplate().saveOrUpdate(item);
getHibernateTemplate().flush();
}
}

Expand Down

0 comments on commit ceb95fc

Please sign in to comment.