On Mon, Jan 10, 2011 at 5:59 AM, Nikolai Weh <[email protected]> wrote: > On Sun, 9 Jan 2011 13:54:07 -0800 > Pawel Aleksander Fedorynski <[email protected]> wrote: >> In the MySQL backend, preparing a statement means just building some >> in-memory data structures, > > Hello Aleksander, > > Thanks for the info! > I tried the same thing using postgresql, where it doesn't work > - it gave me an (apparently) server side error mentioning that the > prepared statement doesn't exist. > I might have to switch to some other DBMS some time, so i've built a few > functions to address this problem in my application. But i was wondering > if it would be possible to provide this functionality, independent of > what the backend provides, in a future version of soci itself?
For the PostgreSQL backend, defining the SOCI_PGSQL_NOPREPARE macro during compilation could do the trick. I have no idea about Oracle. Thanks, Aleksander ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
