I need to create mysql stored procedure which makes more than one insert at a time. To prevent many calls to database I need to use stored procedure. I have java.util.List<MyEntity> object of my data. MyEntity is an object which holds data which has to be inserted into table.
My question is how should I pass List object as mysql procedure parameter?
Thanks in advance.