0 Replies Latest reply on Jun 7, 2006 2:30 PM by michael.litherland

    Boolean Columns in pgsql

    michael.litherland

      Hi,

      I'm a bit stumped at the moment. I'm trying to create EJB3 entities for existing tables in a PostgreSQL database. Everything's working OK except they are using an int column with a value of 0 or 1 for booleans. The pgsql dialect of Hibernate appears not to like this. If I change it to a column type of boolean on a test system things seem to work OK. What can I do to work around this? Changing the table definitions seems out of the question.

      Thanks,
      Mike