Use criteria instead of hql
Merge branch 'master' of https://github.com/jessehwong/Attendance.git