0 Replies Latest reply on Aug 23, 2007 4:54 AM by Matthieu Guyonnet-Duluc

    Drop script support and got an mapping exception

    Matthieu Guyonnet-Duluc Newbie


      I use Spring to build the session factory with my custom object mappings and JBPM object mappings.

      In the bean configuration I set a configLocation to a mappingJBPM.cfg.xml file which is a copy og the hibernate.cfg.xml in the distribution (3.2.1) without datasource properties and the Script.hbm.xml line removed. But I got an exception from the hibernate binder :

      Caused by: org.hibernate.MappingException: An association from the table JBPM_NODE refers to an unmapped class: org.jbpm.graph.action.Script

      If I add the mapping for the Script class it works. And I got the exception evedn if the database is not created.