If I have a
servlet that does NOT implement SingleThreadModel, and lets say that in the doPost() method, the servlet obtains a new Connection from DriverManager, starts a transaction, executes some SQL, and then commits the transaction, can I run into problems when concurrent access takes place on this servlet?
The Connection object is not an instance member of the servlet, this should be obvious since I said that the Connection object is created in the doPost() method, so it's essentially an automatic variable, created and destroyed in doPost().
Users of our application are reporting very strange errors. Very quickly, the application allows managers to enter performance evaluation data for their employees. Managers using the application are reporting that when they are entering data for an employee, they save and continue to the next page and a different employees data is being displayed! Hence, data overlapping.
what do you guys think?
thank you.
SAF
[This message has been edited by SAFROLE YUTANI (edited November 09, 2001).]
[This message has been edited by SAFROLE YUTANI (edited November 09, 2001).]
[This message has been edited by SAFROLE YUTANI (edited November 09, 2001).]