I am working with oracle and using JPA with Hibernate, can we do this with criteriabuilder?
SELECT col1,col2,col3
FROM table(schema.fn_name(param1,param2,param3))
ORDER BY col1,col2;
the query can display other additional field (xyz) as well, although there is no such column. I can do this with callable statement