From: Warren Young Date: April 30 2009 2:28am Subject: Re: SERIALIZABLE Transactions List-Archive: http://lists.mysql.com/plusplus/8540 Message-Id: <55D28C8E-E570-4EDB-BC8C-11FA6DDEA114@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Apr 29, 2009, at 3:42 PM, Steven Davis wrote: > I've got transactions working but how can I make it a serializable > transaction? I just added this feature to MySQL++, which will appear in 3.1.0. It adds a new ctor to Transaction, plus two enums for use with that ctor. You would probably want to say something like this: mysqlpp::Transaction trans(con, mysqlpp::Transaction::serializable, mysqlpp::Transaction::session); The svn version of MySQL++ is in a stable enough state to test right now (r2511 is, anyway) so you might want to check it out so you don't have to wait for 3.1.0. Another reason to check it out now is that this interface is flexible for now, but will be frozen until MySQL++ 4.0 once 3.1.0 is released.