Restore the old behavior for detect the jdbc type of booleans in the old oracle query generator