forked from Archives/Athou_commafeed
allow storage of 4-byte utf8 characters
This commit is contained in:
@@ -5,6 +5,6 @@ import org.hibernate.dialect.MySQL5InnoDBDialect;
|
|||||||
public class MySQL5Dialect extends MySQL5InnoDBDialect {
|
public class MySQL5Dialect extends MySQL5InnoDBDialect {
|
||||||
|
|
||||||
public String getTableTypeString() {
|
public String getTableTypeString() {
|
||||||
return " ENGINE=InnoDB DEFAULT CHARSET=utf8";
|
return " ENGINE=InnoDB DEFAULT CHARSET=utf8mb4";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user