On 2012-07-19 14:38, Lionel Elie Mamane wrote:
For example, to minimise the number of Java calls from C++ , maybe we
could, when we retrieve a whole row through JDBC, doing this from Java
code instead of from C++ code:
for (i=0; i < row->getNumberOfColumns; ++i)
cacheEntry[i]=row->getColumnValue(i);
This would bring us down from one call per column to one call per row,
hopefully without duplicating *too* *much* logic between a C++ version
and a Java version.
For bonus points, retrieve a whole chunk of rows at a time, say around 1000.
Disclaimer: http://www.peralex.com/disclaimer.html
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice