I need to run a query that uses a function I created on the Oracle SQL(10g) database.
I've seen that Hibernate supports some aggregate functions (avg, sum, min, max and some forms of count) but I want my own function so this doesn't work.
I have also seen that I can use SQLQuery object for direct sql injection. But here I loose pagination and I really need this.
Anyone knows how to do this? Thanks in advance!