I met the same problem when begin to test jbpm.
The reason is i have not config the table mapping in the file hibernate.cfg.xml used by
jbpm. i.e the following config raise the error:<!DOCTYPE hibernate-configuration
PUBLIC
| "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
| "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
|
| <hibernate-configuration>
| <session-factory>
| <property name="connection.url">
| jdbc:postgresql://localhost:5432/jbpm_test
| </property>
| <property name="connection.driver_class">
| org.postgresql.Driver
| </property>
|
| <!-- other hibernate properties -->
|
| </session-factory>
| </hibernate-configuration>
After add the mapping in it,the error gone.<!DOCTYPE hibernate-configuration PUBLIC
| "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
| "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
|
| <hibernate-configuration>
| <session-factory>
| <property name="connection.url">
| jdbc:postgresql://localhost:5432/jbpm_test
| </property>
| <property name="connection.driver_class">
| org.postgresql.Driver
| </property>
|
| <!-- other hibernate properties -->
|
| <!--
| here is the mapping files.
| A lot more mapping should following ... chech the default hibernate
config file to find them.
| -->
| <mapping
resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml" />
|
| </session-factory>
| </hibernate-configuration>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151238#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...