Clone, Copy PreparedStatement
843859May 8 2006 — edited May 8 2006Hi all!
I have a PreparedStatement to witch I added a couple of Batches (pstmt.addBatch()).
Now, what I would like to do is, somehow clone or copy this prepared statement and perform executeBatch in a new Thread with this new cloned/copied preparedstatement. I' m using a loop where I prepare statement, and add batches, so I need a copy and then executeBatch in new Thread.
Can I do that? How?
Thanks,
Simon