title: How to set autoReconnect after configuration error in Play Framework?
body: <p>I have an application on Play Framework 2.3, and connecting to SQL Server (2008, 2012 and 2014 versions). Configuration looks like this:</p>
  
  <pre><code>db.default.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
  db.default.url="jdbc:sqlserver://192.168.100.101;databaseName=myDatabase;SelectMethod=direct;autoReconnect=true"
  </code></pre>
  
  <p>That works propperly except for application starting before starting SQL Server. In that case play generates an error: </p>
  
  <pre><code>Configuration error[Cannot connect to database [default]]
  </code></pre>
  
  <p>Is, that possible, to set PlayFramework automaticly reconnect, after that error, when Play arrives a new request, and how can I do that?</p>