Hi!
I've tried with your solution. But, it is not working. I don't know whats wrong with the procedure.
I can clarify one more thing - which might be a important hint for you. My function is look like this --
Code:
create or replace function sat_emp(sal in number) return number
is
s_sal number(10);
begin
s_sal := sal + 500*2.5;
return s_sal;
end;
Now, please advice me - how to proceed. How to map this function in hibernet. As i've to call this function in SELECT statement of a hibernet query. I'm looking for your answer. The most confusing thing is that - here one column is used as input and also as output. It will be used as --
Code:
select empno,sat_emp(sal)
from emp
where deptno = 20;
Hope, now you can get my point. Thanks in advance for your support.
Regards.
Satyaki De.