title: How to switch jpa dialect for specify tenant in multi-tenancy system
body: <p>I'm working on a multi-tenancy system. I have to complete a request that enable a tenant can have their own database. The databases may be difference between tenant.
  This mean a tenant A can use MYSQL, tenant B can use SQL Server and so on. How enable to user to switch between database type depend on authenticated user ?
  I'm using Spring data JPA and all tenant database information should be stored in database not in configuration files.</p>
  
  <p>Could anyone give me some solutions or discuss about this?</p>
  
  <p>Thanks in advance.</p>