Is it thread-safe to pool the PreparedStatement?

Carfield Yim <[email protected]>
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
I just join a project, this existing team member of this project
concern performance a lot so their pool all PreparedStatements into a
map (probably not a nice optimization, but I have no say about that)
when the application start. And then reuse those preparedstatement
again and again.

I haven't get time to check all method call using those
preparedstatement are synchronized properly. If that is not the case,
is it thread-safe to pool the PreparedStatement?

===================================
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.