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]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to