Class StringFunction

All Implemented Interfaces:
FunctionRenderer, SqmFunctionDescriptor

public class StringFunction extends AbstractSqmSelfRenderingFunctionDescriptor
The HQL string() function returns the string value of an enum

For enum fields mapped as STRING or ENUM it's a synonym for cast(x as String). Same as CastStrEmulation. For enum fields mapped as ORDINAL it's a case statement that returns the bane if enum.