1 Reply Latest reply on Oct 10, 2012 10:39 AM by nkb

    use multiple data sources

    nkb

      hello,

       

      i have the following problem:

       

      i want to provide every tenant with a separate datasource. does anybody has an idea how to solve this?

       

      is it possible to define multiple persistence units for one war file?

       

      another solution would be to use the jbpm api and overwrite persistence setting via poolingdatasource:

       

      if user = 'userxyz' , then use schema xyz...

      if user = 'userabc' , then use schema abc...

       

      (jbpm 5.3 is used)

       

      have a nice weekend!

       

      greetings,

      nkb