Again, I'm puzzled... I'm sure there is a simple answer to my question.
I have implemented a UDF with MySQL i.e. to calculate median.
My question is; How do I "tell" Hibernate that MySQL contains the median-function, and not to return errors?
[IllegalStateException: No data type for node: org.hibernate.hql.internal.ast.tree.MethodNode -[METHOD_CALL] MethodNode: '(' +-[METHOD_NAME] IdentNode: 'MEDIAN' {originalText=MEDIAN} -[EXPR_LIST] SqlNode: 'exprList' -[DOT] DotNode: 'elk0_.weight' {propertyName=weight,dereferenceType=PRIMITIVE,getPropertyPath=weight,path={synthetic-alias}.weight,tableAlias=elk0_,className=models.Elk,classAlias=null} +-[IDENT] IdentNode: '{synthetic-alias}' {originalText={synthetic-alias}} -[IDENT] IdentNode: 'weight' {originalText=weight} ]