1 Reply Latest reply on Sep 5, 2006 4:12 AM by descat

    from 3.2.7 to 4.0.3 with hibernate 3.1.3 and his hbm2ddl.aut

    descat

      Hallo,

      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.
      Have I overlooked something?

      Thanks
      Cathy

        • 1. Re: from 3.2.7 to 4.0.3 with hibernate 3.1.3 and his hbm2ddl
          descat

          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>
          

          but not with
           <property name="mappingDirectoryLocations">
           <list>
           <value>classpath:</value>
           </list>
           </property>
          

          And I have a lot of hbm.xml files...