[jboss-user] [jBPM] - JBPM with multi-datasource
bel Ammar
do-not-reply at jboss.com
Fri May 13 11:03:24 EDT 2011
bel Ammar [http://community.jboss.org/people/belha] created the discussion
"JBPM with multi-datasource"
To view the discussion, visit: http://community.jboss.org/message/605204#605204
--------------------------------------------------------------
hello
We are trying to implement multiple db support from a single seam web app. This bascially involves allowing the users to select their db on login. For the main app we use an hibernate custom ConnectionProvider to switch a dataSourceName, and before the user loggin we set dataSourceName in the session context: Contexts.getSessionContext().set("dataSourceName",selectedTenantId+"Datasource");
However, we also need to switch the Jbpm database but we don't have any idea how to do this.
thanx
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/605204#605204]
Start a new discussion in jBPM at Community
[http://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/20110513/9723152e/attachment.html
More information about the jboss-user
mailing list