enforce utf8 on mysql

This commit is contained in:
Athou
2013-04-14 09:12:16 +02:00
parent 8f7709b6c4
commit 03a5b54a5a
3 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
package com.commafeed.backend;
import org.hibernate.dialect.MySQL5InnoDBDialect;
public class MySQL5Dialect extends MySQL5InnoDBDialect {
public String getTableTypeString() {
return " ENGINE=InnoDB DEFAULT CHARSET=utf8";
}
}