[xwiki-users] SQL Schema problem

David Goodenough david.goodenough at linkchoose.co.uk
Wed Aug 2 23:16:03 CEST 2006


On Wednesday 02 August 2006 19:52, David Goodenough wrote:
> 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
Following up on my own question, I understand that Hibernate has the facility
to update the DB schema on the fly.  Would it not be sense to use
net.sf.hibernate.tool.hbm2ddl.SchemaUpdate to do this.  I understand that this
is designed to be used from an Ant task, but I suppose it may also be callable
from the startup code.

David




More information about the users mailing list