Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Clone, Copy PreparedStatement

843859May 8 2006 — edited May 8 2006
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2006
Added on May 8 2006
2 comments
389 views