Removed CAST from sum expression:
select cast(sum(orionfile0_.SALARY_TOTAL) as NUMBER(19,5)) as col_0_0_ from ORION.ORION_FILES orionfile0_
Could not execute query: select cast(sum(orionfile0_.SALARY_TOTAL) as NUMBER(19,5)) as col_0_0_ from ORION.ORION_FILES orionfile0_ Oracle.DataAccess.Client.OracleException ORA-01438: value larger than specified precision allowed for this column