java - Inserting multiple rows in mysql Db and retrieving same rows after successfully in one query store procedure -


table t1. want write such store procedure take array of string. insert string 1 one in t1 using loop. after 1 insertion should store id of inserted row in temp variable. , after insertion should return inserted id's.

i calling stored procedure java.

can 1 me solve problem?.

thnaks in advance.


Comments

Popular posts from this blog

c - ALSA programming: how to stop immediately -

c++ - How to add Crypto++ library to Qt project -