You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are testing Alfresco against the CI-477 build and have found that org.springframework.orm.hibernate3.LocalSessionFactoryBean which now claims to require "Hibernate 3.2 or later" still doesn't work against 3.2 for schema updates. We get the following trace.
Caused by: java.lang.NoClassDefFoundError: org/hibernate/jdbc/Work
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.updateDatabaseSchema(LocalSessionFactoryBean.java:1004)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterSessionFactoryCreation(LocalSessionFactoryBean.java:886)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:213)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
... 25 more
That was a side effect of our upgrade to Hibernate 3.3 where we tried to do things the Hibernate 3.3 way as far as possible. We rolled back to Hibernate 3.2 support since but unfortunately forgot to roll back the schema update implementation as well. Fixed for 3.0 GA now.
David Ward opened SPR-6509 and commented
We are testing Alfresco against the CI-477 build and have found that org.springframework.orm.hibernate3.LocalSessionFactoryBean which now claims to require "Hibernate 3.2 or later" still doesn't work against 3.2 for schema updates. We get the following trace.
Caused by: java.lang.NoClassDefFoundError: org/hibernate/jdbc/Work
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.updateDatabaseSchema(LocalSessionFactoryBean.java:1004)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterSessionFactoryCreation(LocalSessionFactoryBean.java:886)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:213)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
... 25 more
Affects: 3.0 RC2
Referenced from: commits 0d413c7
The text was updated successfully, but these errors were encountered: