mardi 5 mai 2015

MySL tables are not UTF8 even though I instructed Hibernate to do create them with UTF8

I'm using a Spring Boot application and even though I instructed h]Hibernate to make new tables in UTF8, all new tables are in latin1.

spring.jpa.properties.hibernate.connection.characterEncoding=utf-8
spring.jpa.properties.hibernate.connection.CharSet=utf-8
spring.jpa.properties.hibernate.connection.useUnicode=true

I'm using Hikari.

Aucun commentaire:

Enregistrer un commentaire