nkb *** [
https://community.jboss.org/people/nkb] created the discussion
"use multiple data sources"
To view the discussion, visit:
https://community.jboss.org/message/763528#763528
--------------------------------------------------------------
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
[
https://community.jboss.org/message/763528#763528]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]