[jboss-user] [JBoss jBPM] - Combining my persistent classes with the JBPM persistent cla

rukahammer do-not-reply at jboss.com
Fri Feb 27 00:35:08 EST 2009


Hi people, i got an issue and i hope that you can help me!

I'm trying to combine my own persistent classes with the JBPM persistent classes. First I follow the steps described on the following link:
http://docs.jboss.org/jbpm/v3/userguide/persistence.html#d0e2412
but i recieve an org.hibernate.MappingException:Unknown entity with my custom class.

First I have mi POJO class named: Metric, then I created a Metric.hbm.xml file that try to creates a TABLE NAME="Metric". Finally I put the reference to that file on my hibernate.cfg.xml:
  

Hypersonyc is my defauld DB, and supposedly when I start my jbpm suite my custom table must be created, but it doesn't. 

I need some help. Thank you!

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

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



More information about the jboss-user mailing list