When i use springmodules with jbpm3.1, in my config file:
<bean id="hibernateSessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <property name="dataSource" ref="dataSource"/> <property name="mappingLocations"> <list> <value>classpath*:org/jbpm/**/*.hbm.xml</value> </list> </property> <property name="hibernateProperties"> <props> <prop key="hibernate.dialect">${hibernate.dialect}</prop> <prop key="hibernate.show_sql">${hibernate.show_sql}</prop> <prop key="hibernate.createschema">false</prop> <prop key="hibernate.query.factory_class">${hibernate.query.factory_class}</prop> </props> </property> </bean>
i'd ask this in the forum/mailinglist of the springmodule