title: LocalDate stored as DATE in MySQL returns different result
body: <p>I have a Java class with a field defined as:</p>
  
  <pre><code>  @Column
    @NotNull
    private LocalDate availabilityDate;
  </code></pre>
  
  <p>Which maps to a column defined as:</p>
  
  <pre><code>availability_date DATE NOT NULL
  </code></pre>
  
  <p>When I compare the dates from before and after saving to a MySQL database via Spring Data, I get differing results in JUnit:</p>
  
  <pre><code>Expecting:
    &lt;[InventoryAvailability(size=000, availabilityDate=2018-02-07, inventoryContextId=3847, quantity=15, lastChange=2018-02-08T14:32:24.770+01:00[Europe/Berlin]),
      InventoryAvailability(size=001, availabilityDate=2018-02-07, inventoryContextId=3847, quantity=15, lastChange=2018-02-08T14:32:26.337+01:00[Europe/Berlin])]&gt;
  to contain exactly in any order:
    &lt;[InventoryAvailability(size=001, availabilityDate=2018-02-08, inventoryContextId=3847, quantity=15, lastChange=2018-02-08T14:32:26.337+01:00[Europe/Berlin]),
      InventoryAvailability(size=000, availabilityDate=2018-02-08, inventoryContextId=3847, quantity=15, lastChange=2018-02-08T14:32:24.770+01:00[Europe/Berlin])]&gt;
  </code></pre>
  
  <p>How is this possible? I thought only TIMESTAMPS have a time zone. I'm thinking of storing it as milliseconds LONG or as a UTC ZonedDateTime as workaround, but I have the suspicion that I don't understand something important here.</p>