allow storage of 4-byte utf8 characters

This commit is contained in:
Athou
2013-04-19 09:19:46 +02:00
parent 136a45641f
commit 38dd8237cf

View File

@@ -5,6 +5,6 @@ import org.hibernate.dialect.MySQL5InnoDBDialect;
public class MySQL5Dialect extends MySQL5InnoDBDialect {
public String getTableTypeString() {
return " ENGINE=InnoDB DEFAULT CHARSET=utf8";
return " ENGINE=InnoDB DEFAULT CHARSET=utf8mb4";
}
}