I want to pass Dto as in parameters and call stored procedure in spring jdbc.Is it possible,In doing so?
I want to call stored procedures with dto as in paratmeters instead of setting parameters?Because I have large number of parameters.
At the moment, there is no way to pass (or return) objects in MySQL stored procedures and functions.
BUT, MySQL 5.7 have JSON functions, you can pass a varchar
parameter and extract values using JSON_EXTRACT
function.
See MySQL 5.7 manual: Functions That Search JSON Values
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With