On Wed, Jun 20, 2012 at 3:45 AM, Vadim Zeitlin <vz-s...@zeitlins.org> wrote:

> On Tue, 19 Jun 2012 22:44:10 -0700 Stephen Hutton <
> shut...@featurecomplete.com> wrote:
>
> SH> >  Can use() parameters actually be modified? I hope not but I've been
> SH> > surprised by SOCI before...
> SH>
> SH> If recall correctly, this is for binding to stored procedure out
> SH> parameters.
>
>  But shouldn't into() be used for "out" parameters? Perhaps this could be
> useful for in/out parameters but I don't even know if such thing is
> supported by SOCI -- is it?
>

Yes, it's precisely for in/out parameter support.
http://soci.sourceforge.net/doc/exchange.html

"It is still possible to provide const data for use elements. Note that
some database servers, like Oracle, allow PL/SQL procedures to modify their
in/out parameters - this is detected by the SOCI library and an error is
reported if the database attempts to modify the use element that holds const
 data."

Stephen


Stephen
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Soci-users mailing list
Soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to