diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java index 5d9d881577..c15852f427 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java @@ -111,6 +111,7 @@ public class MySQLDialect extends Dialect { registerFunction("rand", new NoArgSQLFunction("rand", StandardBasicTypes.DOUBLE) ); registerFunction("sin", new StandardSQLFunction("sin", StandardBasicTypes.DOUBLE) ); registerFunction("sqrt", new StandardSQLFunction("sqrt", StandardBasicTypes.DOUBLE) ); + registerFunction( "stddev", new StandardSQLFunction("std", StandardBasicTypes.DOUBLE) ); registerFunction("tan", new StandardSQLFunction("tan", StandardBasicTypes.DOUBLE) ); registerFunction("radians", new StandardSQLFunction("radians", StandardBasicTypes.DOUBLE) );