Something else came up today with all this transaction and MySQL stuff. Looks like Hibernate updates do not work unless the session is participating in a transaction when using MySQL InnoDB Max with the default isolation level set to READ-COMMITTED or READ-UNCOMITTED. The tricky part is that inserts work fine but updates never get executed. If you tweak the code and add a transaction or use a Spring annotation or proxy to manage the transaction everything starts working quite nicely.
Categories
Tags
37 signals android apple backup C++ certificate corrupt crash cringely dialogs error failure file filter folders generics Google google-code hidden Inversoft jason fried Java JCatapult li Linux list item mvc open solaris open source operating system osx OS X profanity pulpit repository restore self-signed ssl subversion syllable talkinator tomcat type conversion Ubuntu unixArchives
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- August 2010
- July 2010
- June 2010
- March 2010
- December 2009
- October 2009
- August 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- November 2005
- October 2005
- August 2005
- July 2005
- April 2005
- March 2005
- February 2005
- November 2004
- July 2004
Meta