Skip to content

LocalSessionFactoryBean schema update doesn't work with Hibernate v3.2 [SPR-6509] #11175

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions