Parameterize booleans

At least Microsoft SQL Server doesn't support boolean literals in SQL. Parameterizing boolean values in queries leaves it up to the driver to map java.lang.Boolean to correct values in DB.