Set precision in criteria BigInteger cast

You can create a custom SQLFunction which renders the SQL fragment that you want. Other than that, there is no option to do this yet.