title: Parse date to yyyy-MM-dd HH:mm:ss format
body: <p>I wanted to parse a date using LocalDateTime.parse() method with the date format  yyyy-MM-dd HH:mm:ss, but what I actually get is a date of format yyyy-MM-ddTHH:mm:ss. I don't need that 'T'. Please see below the code</p>
  
  <pre><code>LocalDateTime.parse("2016-10-31 23:59:59", DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
  </code></pre>
  
  <p>The result I am getting is 2016-10-31T23:59:59. See that 'T'. The 'T' is causing issues so that I am unable to persist it to my database. I try to persist the value in a column of type <code>datetime</code>; I am getting the error - <code>org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar</code>.</p>
  
  <p>See the values which are working</p>
  
  <pre><code>VALUES('US','101','test','firstname','middleName','preferedN‌​ame','lastName',
         '198‌​9-01-01','M',1,'1122‌​1123','test@test.com‌​','address1','addres‌​s2','Bloomingdale','‌​IL','US','689850',
         1,‌​1,'11111','2016-12-3‌​1 23:59:59')
  </code></pre>
  
  <p>(no <code>T</code> in last value)</p>
  
  <p>which is not working:</p>
  
  <pre><code>VALUES('US','101','test','firstname','middleName','preferedN‌​ame','lastName',
         '198‌​9-01-01','M',1,'1122‌​1123','test@test.com‌​','address1','addres‌​s2','Bloomingdale','‌​IL','US','689850',
         1,‌​1,'11111','2016-12-3‌​1T23:59:59')
  </code></pre>
  
  <p>(with the <code>T</code> in the last value).</p>