Hi,
> What do I need to add to my type_conversion specialization make such a bulk
> operation possible?
This has been asked on this list a couple of times already. The
short answer is: it isn't possible. Bulk operations can only bind to
vectors of native types.
Related question: Is there any way to tell what backends support and
will benefit from bulk operations? The relevant backends in my case
would be PostgreSQL, SQLite, MSSQLServer, mySQL and generic ODBC. I
am under the impression currently only Oracle will actually use bulk
operations. Is that true?
Also, has anyone tested the performance of simulated bulk
operations? I.e. instead of using a custom type with say 5 fields
use 5 vectors of native types and select into them. Construct the
client side object later by iterating over the five vectors,
essentially copying the data one more time. Ugly, requires lots of
redundant extra code and my gut says it'll probably not be faster by
much (or at all). Correct?
cheers,
Sören
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users