3 Replies Latest reply on Jul 31, 2006 4:50 AM by mailinator

    PLEASE HELP

      Hi, I need to integrate jBPM with my seam-hibernate project. My problem is that I use an hibernate.cfg.xml file to mapping my classes. Integrating jBPM I should create another .cfg.xml referring to another schema. How can I do?
      To be clearest, image to integrate jBPM with hibernate-booking seam example.
      Thanks

        • 1. Re: PLEASE HELP
          aguizar

          Why don't you merge the mappings for JBPM classes and your custom classes in the same .cfg.xml file?

          • 2. Re: PLEASE HELP
            brado

            I have a related question to this -- I have a simlar need, having extra tables that need to be added to the schema and managed by Hibernate. Is the common approach to this to alter the jbpm.sar, and rebuild it, or to just abandon the sar altogether and integrate the contents of the sar (which are basically jars and config files) into the actual webapp?

            What is the approach that everyone is taking to handle this?

            Thanks,

            Brad

            • 3. Re: PLEASE HELP

               

              "alex.guizar@jboss.com" wrote:
              Why don't you merge the mappings for JBPM classes and your custom classes in the same .cfg.xml file?


              Because I'd like to mantain two separate schemas. One for jbpm management and one for my data.