On 8 March 2013 16:23, Vadim Zeitlin <[email protected]> wrote:
> On Mon, 11 Feb 2013 13:13:44 +0000 Mateusz Loskot <[email protected]> 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 3.2.0
> ML>
> ML> 2) Replace current ctor/open() with single new ones taking only the
> ML> context object,
> ML> this could be practical for SOCI 4.0.0 which may no longer be
> ML> compatible with SOCI 3.x.
> ML>
> ML> The context/environment could have implicit ctor taking
> ML> (backend_factory, connection_string)
> ML> so old way of calling is also available.
>
>  Hello again,
>
>  Better late than never: I've finally implemented the above (option (1)),
> see https://github.com/SOCI/soci/pull/98

Vadim,

Great, I'll take a look from home, tonight.

>  I couldn't test DB2 backend compilation (where can I get the required
> headers/libraries?) but I'm relatively confident that it should continue to
> compile and work as the changes are pretty minimal. The other backends seem
> to work, see https://travis-ci.org/SOCI/soci/builds/5345893

I'll try to build as it is with DB2 tonight.
It will be a good test if that assumption works.

I updated this page with link to DB2 client lib
https://github.com/SOCI/soci/blob/master/doc/installation.html#L38
But, if you do have time then don't worry, I'll take care of testing
it with DB2.
AFAIK, Denis (author of DB2) is testing with even wider range of DB2 versions.

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to