title: hibernate spatial dialect for mysql 8
body: <p>i use springboot 2.1 and use hibernate last version for orm.
  when i want persist my data to db i have this error:</p>
  
  <p>Data truncation: Cannot get geometry object from data you send to the GEOMETRY field</p>
  
  <pre><code>@Data
  @Entity
  @EntityListeners(AuditingEntityListener.class)
  public class Province {
  
      @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY)
      Long Id;
  
      String name;
  
      @Column(nullable = false, columnDefinition = "MultiPolygon")
      MultiPolygon multiPolygon;
  
  }
  </code></pre>
  
  <p>i think problem is in mydialect.</p>
  
  <pre><code>server:
  port: 8080
  
  logging:
      level:
          com.mousavi007.serverhavadan: debug
  spring:
    mail:
      host: smtp.gmail.com
      port: 587
      username:********
      password: ******
      properties:
        mail:
              smtp:
                auth: true
                starttls:
                  enable: true
      protocol: smtp
      default-encoding: utf-8
  
    datasource:
      url: jdbc:mysql://localhost:3306/havadan
      username: *************
      password: *************
      platform: mysql
    jpa:
      hibernate:
        ddl-auto: update
      database-platform: org.hibernate.dialect.MySQL8Dialect
  
      database: mysql
      show-sql: true
  </code></pre>
  
  <p>what is spatial dilect for mysql 8 with hibernate last version?</p>