hello
The oracle procedure must be called using Ajax.
abc.xml uses the structure below.
I need to modify the above code structure to call the oracle procedure.
How should I call the procedure?
Can I just change the xml code below?
The oracle procedure must be called using Ajax.
Code:
var argData =
{
…..
};
$.ajax({ method: “POST”,
url : ……/api/abc.xml,
})
.done( function( data )
{
var value = JSON.parse(data);
});
abc.xml uses the structure below.
Code:
<select id="getUserList" resultMap="UserVO">
<![CDATA[
select * from user where id > @id
]]>
</select>
I need to modify the above code structure to call the oracle procedure.
How should I call the procedure?
Can I just change the xml code below?
Code:
<select id="getUserList" resultMap="UserVO">
<![CDATA[
EXECUTE sp_procedure @id
]]>
</select>
Last edited: