How can I configure Hibernate to use its built-in type NumericBooleanType for every boolean column without using any annotation (@Type) on each column?
Edit: A little more background - the goal is to support Oracle as well as Postgres with one codebase and since Oracle has no boolean type I want to make Postgres store boolean values like Oracle with 0/1