0 Replies Latest reply on May 13, 2011 11:03 AM by belha

    JBPM with multi-datasource

    belha Newbie



      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.