You can use the "hibernate.query.substitutions" option in your hibernate.cfg.xml configuration file to map boolean values to int values. JT -----Original Message----- From: David Goodenough [mailto:[email protected]] Sent: Thursday, 3 August 2006 4:53 AM To: [email protected] Subject: [xwiki-users] SQL Schema problem I am trying to install xwiki with postgresql 8.1. The binary version does not work as it tries to set an int field with a boolean value (or was it the other way around - I forget). So I pulled the SVN version in case this had been fixed, and it would seem that this problem no longer exists, but then I hit another problem, the schema that the was with the binary version is not right. But in the SVN version I can not find the new schema. Does anyone have it, or can it be generated? Regards David