Hi Ed,
There was no SimState.hbm.xml, so I created one in the sim directory of both the src and
target. It was still no good. I've only seriously started learning the J2EE stack in
the last few weeks and i'm in so called "XML Hell". I'm not sure what
xml files go where, and what xml tags to use in specific xml files. My SimState.hbm.xml
file looks like this:
| <?xml version="1.0"?>
| <!DOCTYPE hibernate-mapping PUBLIC
| "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
| "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
|
| <hibernate-mapping auto-import="false" default-access="field"
>
|
| <subclass name="org.jbpm.sim.SimState"
| discriminator-value="SS"
| extends="org.jbpm.graph.def.State" />
|
|
|
| </hibernate-mapping>
|
It still doesn't make sense why the SimState mapping would cause things to break in
the Junit test. I looked at the jbpm-jpdl.jar in my web-console.war file and the
SimState mapping is there but everything works just fine. So I only see the errors in the
junit tests.
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075328#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...