This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I use jdbc connection pooling and transaction.
i set setAutoCommit to false to use the transaction. when i return this connection to the pool. i wonder if i need to set this connection's setAutoCommit to false, which means back to its normal status?
I think it really depends on the situation and your definition of "need". Technically it is not necessary; but it seems to me that returning it to the pool in the same state as it was when you retrieved it would be a good practice.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: do i need to set setAutoCommit to true in the final block when i use both pooling and transaction