Originally posted by vikram karne:
I am having Multiple Insert Statements which i need to execute to put the data in the database.
Are you inserting in same table every time? if yes, then you can use addBatch() method of PreparedStatement class, to inster multiple data.
Also use place holders when you create a prepared statment, the code you have posted here,is not suggested way of using prepared Statement
rather
you should make a prepared statment like
If you make perparestatement using place holders, then you can resue same.
Thanks,
Shailesh