JBoss Community

JBPM with multi-datasource

created by bel Ammar in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community