From: Warren Young Date: November 25 2009 3:49pm Subject: Re: set_option ( ReconnectOption ) List-Archive: http://lists.mysql.com/plusplus/8778 Message-Id: <4B0D51FE.5040405@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Dino Korah wrote: > What is the best way to use ReconnectOption ?! I wasn't aware that there were alternatives. Is there another way besides the following? conn.set_option(new ReconnectOption(true)); > I couldnt find any good sample code. http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#connopts Were you expecting a section in the user manual with example code showing how to set every one of the 30 options we currently support, which differ only in the single line of code calling set_option()? Yes, I'm being snarky, but also serious. You didn't find what you expected, so what exactly did you expect to find? I can't fix it if I don't know, and I'm telling you I don't know. :)