Fixed Hibernate 4 bool type bug for PostgreSQL