https://issues.apache.org/bugzilla/show_bug.cgi?id=55071

--- Comment #2 from bruce weertman <br...@iris.washington.edu> ---
I was wondering about that. I never do that on SELECT statements myself. After
I read that piece of code, I was thinking that perhaps I've been doing SQL
wrong for all these years! 

Looking at
http://docs.oracle.com/javase/6/docs/api/java/sql/Connection.html#setAutoCommit%28%29
it sounds like rs.close() commits the select. 

So perhaps the solution is to just get rid of the commit() statement.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to