How to pass array of object to mysql stored procedure using jpa.
We have class Tag which has tag_name, tag_url as attributes. How can we pass list/array of tags to mysql stored procedure using jpa/hibernate.
How to pass array of object to mysql stored procedure using jpa.
We have class Tag which has tag_name, tag_url as attributes. How can we pass list/array of tags to mysql stored procedure using jpa/hibernate.
If you plan to use MySQL 5.1, it is not possible to pass in an array. See the MySQL 5.1 https://dev.mysql.com/doc/refman/5.6/ja/faqs-stored-procs.html#qandaitem-27-4-17
for postgres refer following answer