public class AyuMySQLDialect extends org.hibernate.dialect.MySQLDialect {
/**
* "hibernate.hbm2ddl.auto"会无效
*/
// protected void registerVarcharTypes() {
// registerFunction("group_concat", new StandardSQLFunction("group_concat",Hibernate.STRING));
// }
public AyuMySQLDialect() {
super();
registerFunction("group_concat", new StandardSQLFunction( "group_concat", Hibernate.STRING));
}
}