Hey John,
2011/3/30 John Robson <[email protected]>
> Now is perfect...
>
> Before: 3 min
>
> while (...) {
> Transaction tt(session);
> ptr<Registers> ptrS = session.add(registers);
> tt.commit();
> }
>
>
> Now: 1s
>
> Transaction tt(session);
> while (...) {
> ptr<Registers> ptrS = session.add(registers);
> }
> tt.commit();
>
Yes, this is correct not only from the POV of efficiency, but
also from the POV of data integrity -- either all rows will be
load successfully, or no rows will be loaded at all.
>
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
--
// Dmitriy.
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest