title: Change database connection per request in Play 2.4.2
body: <p>I am using Play 2.4.2 and i am trying to connect to different PostgreSQL databases on runtime. </p>
  
  <p>There is one (legacy) PostgreSQL installation running on the same host, but it has (right now ~39) databases.</p>
  
  <p>For each request based on the route i want to connect to a different database dynamically without specifying each datasource in application.conf.</p>
  
  <p>I know this is neither a good nor an efficient solution, i'm just interested whether this is possible at all.</p>