Re: Is it thread-safe to pool the PreparedStatement?

Carfield Yim <[email protected]>
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
> concurrently since you could have thread A calling setString(1, "a") and
> thread B calling setString(1, "b") on the same prepared statement and

That is what in my mind also, but in fact the application look run
fine at this moment.

> http://www.javaperformancetuning.com/tips/jdbc_prepared.shtml for
> details.
>
Thanks for the information

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.