Re: [soci-users] RFD: how to specify whether ODBC backend should prompt the user?

2013-03-08 Thread Mateusz Loskot
On 8 March 2013 16:23, Vadim Zeitlin wrote: > On Mon, 11 Feb 2013 13:13:44 + Mateusz Loskot wrote: > ML> Implementation options: > ML> > ML> 1) Keep current soci::session interface for backward compatibility, > ML> add new ctor and open() taking the context - less intrusive, good for > SOCI

Re: [soci-users] RFD: how to specify whether ODBC backend should prompt the user?

2013-03-08 Thread Vadim Zeitlin
On Mon, 11 Feb 2013 13:13:44 + Mateusz Loskot wrote: ML> Yet another proposal open for comments: ML> ML> What about using the little Encapsulated Context pattern? ... ML> Implementation options: ML> ML> 1) Keep current soci::session interface for backward compatibility, ML> add new ctor and

Re: [soci-users] RFD: how to specify whether ODBC backend should prompt the user?

2013-02-27 Thread Mateusz Loskot
On 24 February 2013 20:26, vaclav wrote: > Just one more thing to consider. Sometimes we need not only a better way > to specify session options before calling "connect", but also an interface > for asking what session options are actually in use. > [...] Generally, it is a good idea and unified

Re: [soci-users] RFD: how to specify whether ODBC backend should prompt the user?

2013-02-24 Thread vaclav
View this message in context: http://soci.6940.n7.nabble.com/soci-users-RFD-how-to-specify-whether-ODBC-backend-should-prompt-the-user-tp3240p3329.html Sent from the soci-users mailing list archive at Nabble.com. -- Everyone

Re: [soci-users] RFD: how to specify whether ODBC backend should prompt the user?

2013-02-11 Thread Mateusz Loskot
On 10 February 2013 23:37, Vadim Zeitlin wrote: > On Mon, 4 Feb 2013 01:05:39 + Mateusz Loskot wrote: > ML> On 3 February 2013 21:39, Vadim Zeitlin wrote: > ... > ML> > I'd like to propose with the solution based on adding a > ML> > soci::backend_options class which would just wrap std::map

Re: [soci-users] RFD: how to specify whether ODBC backend should prompt the user?

2013-02-10 Thread Vadim Zeitlin
On Mon, 4 Feb 2013 01:05:39 + Mateusz Loskot wrote: ML> On 3 February 2013 21:39, Vadim Zeitlin wrote: ... ML> > I'd like to propose with the solution based on adding a ML> > soci::backend_options class which would just wrap std::map ML> > but might provide a simpler/higher level adapter ov

Re: [soci-users] RFD: how to specify whether ODBC backend should prompt the user?

2013-02-03 Thread Mateusz Loskot
On 3 February 2013 21:39, Vadim Zeitlin wrote: > On Sat, 2 Feb 2013 21:37:58 + Mateusz Loskot wrote: > ML> On 31 January 2013 21:11, Vadim Zeitlin wrote: > ML> > > ML> > [...] > ML> > So I see several alternatives, let me list them here > ML> > with their pros and cons: > ML> > > ML> > 0. Ju

Re: [soci-users] RFD: how to specify whether ODBC backend should prompt the user?

2013-02-03 Thread Vadim Zeitlin
On Sat, 2 Feb 2013 21:37:58 + Mateusz Loskot wrote: ML> On 31 January 2013 21:11, Vadim Zeitlin wrote: ML> > At least under Windows, it's common for the ODBC driver to show a dialog ML> > box to the user asking to enter the missing information when connecting via ML> > a predefined DSN. Ty

Re: [soci-users] RFD: how to specify whether ODBC backend should prompt the user?

2013-02-02 Thread Mateusz Loskot
On 31 January 2013 21:11, Vadim Zeitlin wrote: > At least under Windows, it's common for the ODBC driver to show a dialog > box to the user asking to enter the missing information when connecting via > a predefined DSN. Typically, the password is not stored in the DSN, where > it could be easily

[soci-users] RFD: how to specify whether ODBC backend should prompt the user?

2013-01-31 Thread Vadim Zeitlin
Hello, At least under Windows, it's common for the ODBC driver to show a dialog box to the user asking to enter the missing information when connecting via a predefined DSN. Typically, the password is not stored in the DSN, where it could be easily seen, but entered during connection time in thi