In oracle I have a PLSQL package "Calc_Lib_packg" and there is a procedure name "get_median" what should be the parameter name in the setSql() method?
setSql("Calc_Lib_packg.get_median");
or
setSql("get_median");
Actually I am getting following error in both cases( I tried both above options-
org.springframework.jdbc.BadSqlGrammarException: CallableStatementCallback; bad SQL grammar [{call Calc_Lib_packg.get_median(?,?)}] nested exception is java.sql.SQLException: ORA-06550: line 1, column 7:PLS-00201: identifier 'Calc_Lib_packg.get_median' must be declared


( I tried both above options-
Reply With Quote