I have a package pkg_multi_parm_price_agg
in oracle db which has a function
FUNCTION FN_GET_GROUP_ID_WRAPPER_F(PI_PARM_CODE_VAL_STR IN VARCHAR2,
PI_PARM_COUNT IN NUMBER)
RETURN TXN_DTL_PRITM.PRICEITEM_PARM_GRP_ID%TYPE;
currently iusing JDBC prepared statement i am able to call it successfully in my java project using below query and providing required parameters :
SELECT pkg_multi_parm_price_agg.fn_get_group_id_wrapper_F(?,?) FROM DUAL;
I want to understand if same can be called using Apache spark using Java?
EDIT - This question is regarding calling a DB function using Java using apache spark functionality.Hence I consider it as different question, kindly correct my understanding if otherwise.