From d8cb021e3d669c489bd90fdb54c7c80585a07dd6 Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Tue, 17 Sep 2013 16:30:28 -0400 Subject: [PATCH] HHH-1835 added stddev to MySQLDialect Conflicts: hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java --- .../src/main/java/org/hibernate/dialect/MySQLDialect.java | 1 + 1 file changed, 1 insertion(+) 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) );