ox-it/wl-course-signup — pull request #121 by buckett (2013-11-08 15:23:13+00:00)
Title: WL-3067 Correctly handle both Long and Integer.

H2 returns Long and MySQL returns Integer when counting rows. Now we cope with both cases. We can also use the standard uniqueResult() as it does the same (throwing exception) when multiple rows are returned.