HHH-1835 added stddev to MySQLDialect

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
This commit is contained in:
Brett Meyer 2013-09-17 16:30:28 -04:00
parent 67ddd01002
commit d8cb021e3d
1 changed files with 1 additions and 0 deletions

View File

@ -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) );