[PMD-821] Oracle and DB2 dialects were translating TRUE() as '1', FALSE ...

...as '0', which was producing invalid SQL (e.g. "WHERE ( 1 )" ).

Modified to use 1=1, 1=0 instead, since neither database offers a better option for representing boolean.