On 10/03/2011 09:35 AM, jerem wrote:
I found ...
I checked in hibernate mapping, it seems at some time length of column
XWV_IP (in xwikistatsvisit) was increased from 32 to 255 ... Strangely in my
instance it was not automatically migrated.
I altered the column and don't get this error anymore.
Hibernate can automatically create tables and their columns, but it
won't automatically change existing columns.
Sergiu, this seems to indicate that at some point we should have had a migrator to perform
this change IMO as otherwise we're not doing a good job for upgrading XWiki.
I remember we've just changed some sizes in our Hibernate file, does it mean we might
have some problems in the future ? (prolly not since we reduced the size instead of
increasing it).
Thanks
-Vincent