JBoss Community

use multiple data sources

created by nkb *** in jBPM - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in jBPM at Community