HI: I have a multi thread Java database application, we have to create a customized database pooling. The reason is that some of our preparedstatement has to be cached in the co
You have a multi-threaded application, but do many threads use the same database connection at the same time ? As the PreparedStatement cache will be done at the Connection level, if you connections are used by a single Thread at a time (which I think should be the case), you do not need synchronization.