2 Replies Latest reply on Mar 1, 2009 6:52 PM by salaboy21

    Combining my persistent classes with the JBPM persistent cla

    rukahammer

      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!