registerFunction( "ascii", new StandardSQLFunction( "ascii", StandardBasicTypes.INTEGER ) ); registerFunction( "bin", new StandardSQLFunction( "bin", StandardBasicTypes.STRING ) ); registerFunction( "char_length", new StandardSQLFunction( "char_length", StandardBasicTypes.LONG ) ); registerFunction( "character_length", new StandardSQLFunction( "character_length", StandardBasicTypes.LONG ) ); registerFunction( "lcase", new StandardSQLFunction( "lcase" ) ); registerFunction( "lower", new StandardSQLFunction( "lower" ) ); registerFunction( "ltrim", new StandardSQLFunction( "ltrim" ) ); registerFunction( "ord", new StandardSQLFunction( "ord", StandardBasicTypes.INTEGER ) ); registerFunction( "quote", new StandardSQLFunction( "quote" ) ); registerFunction( "reverse", new StandardSQLFunction( "reverse" ) ); registerFunction( "rtrim", new StandardSQLFunction( "rtrim" ) ); registerFunction( "soundex", new StandardSQLFunction( "soundex" ) ); registerFunction( "space", new StandardSQLFunction( "space", StandardBasicTypes.STRING ) ); registerFunction( "ucase", new StandardSQLFunction( "ucase" ) ); registerFunction( "upper", new StandardSQLFunction( "upper" ) ); registerFunction( "unhex", new StandardSQLFunction( "unhex", StandardBasicTypes.STRING ) ); registerFunction( "abs", new StandardSQLFunction( "abs" ) ); registerFunction( "sign", new StandardSQLFunction( "sign", StandardBasicTypes.INTEGER ) ); registerFunction( "acos", new StandardSQLFunction( "acos", StandardBasicTypes.DOUBLE ) ); registerFunction( "asin", new StandardSQLFunction( "asin", StandardBasicTypes.DOUBLE ) ); registerFunction( "atan", new StandardSQLFunction( "atan", StandardBasicTypes.DOUBLE ) ); registerFunction( "cos", new StandardSQLFunction( "cos", StandardBasicTypes.DOUBLE ) ); registerFunction( "cot", new StandardSQLFunction( "cot", StandardBasicTypes.DOUBLE ) ); registerFunction( "crc32", new StandardSQLFunction( "crc32", StandardBasicTypes.LONG ) ); registerFunction( "exp", new StandardSQLFunction( "exp", StandardBasicTypes.DOUBLE ) ); registerFunction( "ln", new StandardSQLFunction( "ln", StandardBasicTypes.DOUBLE ) ); registerFunction( "log", new StandardSQLFunction( "log", StandardBasicTypes.DOUBLE ) );
registerFunction("ascii", new StandardSQLFunction("ascii", Hibernate.INTEGER) ); registerFunction("bin", new StandardSQLFunction("bin", Hibernate.STRING) ); registerFunction("char_length", new StandardSQLFunction("char_length", Hibernate.LONG) ); registerFunction("character_length", new StandardSQLFunction("character_length", Hibernate.LONG) ); registerFunction("lcase", new StandardSQLFunction("lcase") ); registerFunction("lower", new StandardSQLFunction("lower") ); registerFunction("length", new StandardSQLFunction("length", Hibernate.LONG) ); registerFunction("ltrim", new StandardSQLFunction("ltrim") ); registerFunction("ord", new StandardSQLFunction("ord", Hibernate.INTEGER) ); registerFunction("quote", new StandardSQLFunction("quote") ); registerFunction("reverse", new StandardSQLFunction("reverse") ); registerFunction("rtrim", new StandardSQLFunction("rtrim") ); registerFunction("soundex", new StandardSQLFunction("soundex") ); registerFunction("space", new StandardSQLFunction("space", Hibernate.STRING) ); registerFunction("ucase", new StandardSQLFunction("ucase") ); registerFunction("upper", new StandardSQLFunction("upper") ); registerFunction("unhex", new StandardSQLFunction("unhex", Hibernate.STRING) ); registerFunction("abs", new StandardSQLFunction("abs") ); registerFunction("sign", new StandardSQLFunction("sign", Hibernate.INTEGER) ); registerFunction("acos", new StandardSQLFunction("acos", Hibernate.DOUBLE) ); registerFunction("asin", new StandardSQLFunction("asin", Hibernate.DOUBLE) ); registerFunction("atan", new StandardSQLFunction("atan", Hibernate.DOUBLE) ); registerFunction("cos", new StandardSQLFunction("cos", Hibernate.DOUBLE) ); registerFunction("cot", new StandardSQLFunction("cot", Hibernate.DOUBLE) ); registerFunction("crc32", new StandardSQLFunction("crc32", Hibernate.LONG) ); registerFunction("exp", new StandardSQLFunction("exp", Hibernate.DOUBLE) ); registerFunction("ln", new StandardSQLFunction("ln", Hibernate.DOUBLE) );
registerFunction("ascii", new StandardSQLFunction("ascii", StandardBasicTypes.INTEGER) ); registerFunction("bin", new StandardSQLFunction("bin", StandardBasicTypes.STRING) ); registerFunction("char_length", new StandardSQLFunction("char_length", StandardBasicTypes.LONG) ); registerFunction("character_length", new StandardSQLFunction("character_length", StandardBasicTypes.LONG) ); registerFunction("lcase", new StandardSQLFunction("lcase") ); registerFunction("lower", new StandardSQLFunction("lower") ); registerFunction("ltrim", new StandardSQLFunction("ltrim") ); registerFunction("ord", new StandardSQLFunction("ord", StandardBasicTypes.INTEGER) ); registerFunction("quote", new StandardSQLFunction("quote") ); registerFunction("reverse", new StandardSQLFunction("reverse") ); registerFunction("rtrim", new StandardSQLFunction("rtrim") ); registerFunction("soundex", new StandardSQLFunction("soundex") ); registerFunction("space", new StandardSQLFunction("space", StandardBasicTypes.STRING) ); registerFunction("ucase", new StandardSQLFunction("ucase") ); registerFunction("upper", new StandardSQLFunction("upper") ); registerFunction("unhex", new StandardSQLFunction("unhex", StandardBasicTypes.STRING) ); registerFunction("abs", new StandardSQLFunction("abs") ); registerFunction("sign", new StandardSQLFunction("sign", StandardBasicTypes.INTEGER) ); registerFunction("acos", new StandardSQLFunction("acos", StandardBasicTypes.DOUBLE) ); registerFunction("asin", new StandardSQLFunction("asin", StandardBasicTypes.DOUBLE) ); registerFunction("atan", new StandardSQLFunction("atan", StandardBasicTypes.DOUBLE) ); registerFunction("cos", new StandardSQLFunction("cos", StandardBasicTypes.DOUBLE) ); registerFunction("cot", new StandardSQLFunction("cot", StandardBasicTypes.DOUBLE) ); registerFunction("crc32", new StandardSQLFunction("crc32", StandardBasicTypes.LONG) ); registerFunction("exp", new StandardSQLFunction("exp", StandardBasicTypes.DOUBLE) ); registerFunction("ln", new StandardSQLFunction("ln", StandardBasicTypes.DOUBLE) ); registerFunction("log", new StandardSQLFunction("log", StandardBasicTypes.DOUBLE) );
registerFunction("ascii", new StandardSQLFunction("ascii", StandardBasicTypes.INTEGER) ); registerFunction("bin", new StandardSQLFunction("bin", StandardBasicTypes.STRING) ); registerFunction("char_length", new StandardSQLFunction("char_length", StandardBasicTypes.LONG) ); registerFunction("character_length", new StandardSQLFunction("character_length", StandardBasicTypes.LONG) ); registerFunction("lcase", new StandardSQLFunction("lcase") ); registerFunction("lower", new StandardSQLFunction("lower") ); registerFunction("ltrim", new StandardSQLFunction("ltrim") ); registerFunction("ord", new StandardSQLFunction("ord", StandardBasicTypes.INTEGER) ); registerFunction("quote", new StandardSQLFunction("quote") ); registerFunction("reverse", new StandardSQLFunction("reverse") ); registerFunction("rtrim", new StandardSQLFunction("rtrim") ); registerFunction("soundex", new StandardSQLFunction("soundex") ); registerFunction("space", new StandardSQLFunction("space", StandardBasicTypes.STRING) ); registerFunction("ucase", new StandardSQLFunction("ucase") ); registerFunction("upper", new StandardSQLFunction("upper") ); registerFunction("unhex", new StandardSQLFunction("unhex", StandardBasicTypes.STRING) ); registerFunction("abs", new StandardSQLFunction("abs") ); registerFunction("sign", new StandardSQLFunction("sign", StandardBasicTypes.INTEGER) ); registerFunction("acos", new StandardSQLFunction("acos", StandardBasicTypes.DOUBLE) ); registerFunction("asin", new StandardSQLFunction("asin", StandardBasicTypes.DOUBLE) ); registerFunction("atan", new StandardSQLFunction("atan", StandardBasicTypes.DOUBLE) ); registerFunction("cos", new StandardSQLFunction("cos", StandardBasicTypes.DOUBLE) ); registerFunction("cot", new StandardSQLFunction("cot", StandardBasicTypes.DOUBLE) ); registerFunction("crc32", new StandardSQLFunction("crc32", StandardBasicTypes.LONG) ); registerFunction("exp", new StandardSQLFunction("exp", StandardBasicTypes.DOUBLE) ); registerFunction("ln", new StandardSQLFunction("ln", StandardBasicTypes.DOUBLE) ); registerFunction("log", new StandardSQLFunction("log", StandardBasicTypes.DOUBLE) );
registerFunction("ascii", new StandardSQLFunction("ascii", Hibernate.INTEGER) ); registerFunction("bin", new StandardSQLFunction("bin", Hibernate.STRING) ); registerFunction("char_length", new StandardSQLFunction("char_length", Hibernate.LONG) ); registerFunction("character_length", new StandardSQLFunction("character_length", Hibernate.LONG) ); registerFunction("lcase", new StandardSQLFunction("lcase") ); registerFunction("lower", new StandardSQLFunction("lower") ); registerFunction("length", new StandardSQLFunction("length", Hibernate.LONG) ); registerFunction("ltrim", new StandardSQLFunction("ltrim") ); registerFunction("ord", new StandardSQLFunction("ord", Hibernate.INTEGER) ); registerFunction("quote", new StandardSQLFunction("quote") ); registerFunction("reverse", new StandardSQLFunction("reverse") ); registerFunction("rtrim", new StandardSQLFunction("rtrim") ); registerFunction("soundex", new StandardSQLFunction("soundex") ); registerFunction("space", new StandardSQLFunction("space", Hibernate.STRING) ); registerFunction("ucase", new StandardSQLFunction("ucase") ); registerFunction("upper", new StandardSQLFunction("upper") ); registerFunction("unhex", new StandardSQLFunction("unhex", Hibernate.STRING) ); registerFunction("abs", new StandardSQLFunction("abs") ); registerFunction("sign", new StandardSQLFunction("sign", Hibernate.INTEGER) ); registerFunction("acos", new StandardSQLFunction("acos", Hibernate.DOUBLE) ); registerFunction("asin", new StandardSQLFunction("asin", Hibernate.DOUBLE) ); registerFunction("atan", new StandardSQLFunction("atan", Hibernate.DOUBLE) ); registerFunction("cos", new StandardSQLFunction("cos", Hibernate.DOUBLE) ); registerFunction("cot", new StandardSQLFunction("cot", Hibernate.DOUBLE) ); registerFunction("crc32", new StandardSQLFunction("crc32", Hibernate.LONG) ); registerFunction("exp", new StandardSQLFunction("exp", Hibernate.DOUBLE) ); registerFunction("ln", new StandardSQLFunction("ln", Hibernate.DOUBLE) );