2 Replies Latest reply on Dec 4, 2012 1:33 PM by Maciej Swiderski

    JBPM table name modification

    Prabakar Singaram Newbie

      As you all know that diffirent database with diffirent OS need certain preconditions or standards to maintain...

       

      but in JBPM we dont have that flexiblity to modify the JBPM schema based on the databse environment, we have to stricly follow the JBPM code with out customise anythind otherwise we  will lose the default functionality providedby JBPM also future upgrading also will be in trouble.

       

      My questions are here...

      1.  Is any one mnodified the table name of the JBPM schema?

      2. Is any one created the custom schema for JBPM or using their existing shema to use JBPM?

       

      Please share your experince here....

       

      thanks lot for reading this post and time....

        • 1. Re: JBPM table name modification
          vchmakov Newbie

          Hi,

           

          We use Firebird and at the moment for number of reasons are on the dialect 1 so we are in this situation. We have had to modify the persistence layer and therefore maintain our own build of JBPM different from the standard one. Also we have to maintain the DB schema ourselves and do not let the JBPM touch the schema as any attempt to do that fails. This works fine for us.

           

          As a side note: Microsoft in its WF (Workflow Foundation) solves this issue with callbacks. When it’s time to dehydrate/rehydrate the workflow you receive a callback and it is completely up to you how you persist/load the data. Perhaps, this is the only thing I really love in MS WF.

           

          Thanks,

           

          Vladimir

           

          • 2. Re: JBPM table name modification
            Maciej Swiderski Master

            Sam Mano wrote:

             

            1.  Is any one mnodified the table name of the JBPM schema?

             

            As jBPM is backed by JPA and hibernate you could override the table names by using orm files to change the default table names.

             

             

            Sam Mano wrote:

             

            2. Is any one created the custom schema for JBPM or using their existing shema to use JBPM?

             

            that would be more advanced work but in theory it's possible as jBPM uses pluggable persistence. You could define your own marshallers and I think someone had already done it, if you search this forum you should find some discussions about it

             

            HTH

            1 of 1 people found this helpful