[jboss-user] [jBPM] - use multiple data sources

nkb *** do-not-reply at jboss.com
Fri Oct 5 12:17:00 EDT 2012


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121005/9f91cdc7/attachment.html 


More information about the jboss-user mailing list