redhatchallenge/rhc2013 — pull request #10 by Ayrx (2013-08-26 02:00:38+00:00)
Title: Fixed an error in assignTimeslot() that fails to retrieve the count.

The assignTimeslot() function had a small mistake in the way
Hibernate executed the SELECT COUNT(*) statement which caused
the confirmation process to fail. This commit fixes that and
wraps the function in a try/catch block to handle any Hibernate
exceptions.