Hi Arieh, The situation is complicated if you run multiple statements using the same connection and don't exhaust the ResultSet before returning the connection to the pool. If all you are doing is insert/update/delete then the statements are essentially complete when they are executed. Just watch out for queries. For best portability, a connection should be owned by a thread until all its statements have been completely executed and its result sets closed. Then the connection can be put back into the pool for another thread to use. Craig On Nov 10, 2005, at 7:33 AM, Arieh Markel wrote:
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! |