title: Multiple Databases in play framework
body: <p>I'm trying to establish a second database connection to another database on another server. We're using play framework 1.2.4 and I found the following documentation for 1.2.3.</p>
  
  <p><a href="http://www.playframework.org/documentation/1.2.3/model#multiple" rel="nofollow noreferrer">http://www.playframework.org/documentation/1.2.3/model#multiple</a></p>
  
  <pre><code>application.conf:
  db_other.url=jdbc:mysql://localhost/test
  db_other.driver=com.mysql.jdbc.Driver
  db_other.user=root
  db_other.pass=
  
  Connection conn = DB.getDBConfig("other").getConnection()
  </code></pre>
  
  <p>This didn't worked for me so I did a little more search and found the following article.
  This article told me that the above configuration leaked in from the 1.3 master branch and will be available in the future...</p>
  
  <p><a href="https://stackoverflow.com/questions/8001809/jpa-getjpaconfig-method-not-found-on-plays-api">JPA.getJPAConfig method not found on Play&#39;s API</a></p>
  
  <p><a href="https://play.lighthouseapp.com/projects/57987/tickets/706" rel="nofollow noreferrer">https://play.lighthouseapp.com/projects/57987/tickets/706</a></p>
  
  <p>Can anyone give me a way to do some simple queries to that other database? I think I'm not the only one who wants to use multiple databases.</p>
  
  <p>Thanks!</p>