Hi Ludovic, Thanks for answering to my mail. On Mon, 2005-10-10 at 00:28 +0200, Ludovic Dubost wrote:
Not sure what the exact error is.. A more detailed stacktrace would be needed.. After some sleep I found the cause and solution: ... 2005-10-10 06:03:24,657 ERROR [org.hibernate.util.JDBCExceptionReporter] Batch entry 0 update xwikiclassesprop set XWP_PRETTYNAME=Skin, XWP_CLASSTYPE=com.xpn.xwiki.objects.classes.StringClass, XWP_UNMODIFIABLE=0, XWP_NUMBER=1 where XWP_ID=104408758 and XWP_NAME=skin was aborted. Call getNextException to see the cause. 2005-10-10 06:03:24,657 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: 42804 2005-10-10 06:03:24,657 ERROR [org.hibernate.util.JDBCExceptionReporter] ERROR: column "xwp_unmodifiable" is of type smallint but expression is of type boolean 2005-10-10 06:03:24,657 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session
This as caused by a mixture of a new PostgreSQL JDBC driver (8.x) and the actual code: there is a mismatch between the Java type and the database type for the database column "xwp_unmodifiable". Reverting to the 7.x PostgreSQL JDBC drivers solves the problem. I am now looking at a XWiki screen. -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: [email protected] web: www.askesis.nl