[jboss-user] [JBoss jBPM] - Drop script support and got an mapping exception

matthieugd do-not-reply at jboss.com
Thu Aug 23 04:54:03 EDT 2007


Hi,

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.

Matthieu

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077191#4077191

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077191



More information about the jboss-user mailing list