No, we should not add this function to the criteria API because it is not a portable HQL function.
-1