mysema/querydsl — pull request #422 by ssaarela (2013-05-21 11:00:22+00:00)
Title: Allow Non-Number types for SQL numbers

Using short numbers for Boolean is very common. E.g. number(1) in Oracle or tinyint(1) in Mysql.

http://stackoverflow.com/questions/777269/what-is-the-best-practice-for-storing-boolean-values-in-sql