Shahabas,
There is no single SQL command to insert and delete. A stored proc would do it in one "step" (from
java's point of view), but there are still two commands in the stored proc. As the network is unlikely to be slowing things down, I would look at optimizing the queries. Also, you can disable indexes, run the commands and then enable the indexes.