MySQL Forums
Forum List  »  Connector/JDBC and Java

Re: commit doesn't work!
Posted by: Todd Farmer
Date: June 03, 2012 11:51PM

The title is a bit misleading; commit almost certainly DOES work. You've already noted that transaction isolation likely plays into this - it sounds like you are expecting READ COMMITTED behavior rather than REPEATABLE READ (default InnoDB behavior):

http://dev.mysql.com/doc/refman/5.5/en/set-transaction.html#isolevel_read-committed

--
Todd Farmer
MySQL @ Oracle
http://www.oracle.com/mysql/

Options: ReplyQuote


Subject
Written By
Posted
June 03, 2012 03:43AM
Re: commit doesn't work!
June 03, 2012 11:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.