My application deploy fine in 3.2.7 but not anymore in 4.0.3... I'm using hibernate 3.1.3. I removed all hibernate and cglib files from jboss, but without results in 4.0.3... I want to use the
hbm2ddl.auto. I found tables in my database when deployed on 3.2.7 but no any tables when deployed in 4.0.3.
The problem seems to be in the configuration of hibernate into spring :
it works fine with
<property name="mappingResources"> <list> <value>Axxxx.hbm.xml</value> <value>Bxxxxx.hbm.xml</value> </list> </property>
<property name="mappingDirectoryLocations"> <list> <value>classpath:</value> </list> </property>