On 07/22/2016 04:18 PM, Dimitry Sibiryakov wrote: > Hello, All. > > When a provider receive, for example, ITransaction* as a parameter for a > method, can it > be sure that this is the object it returned from startTransaction() before? > For example, can Y-valve get JTransaction from engine, but use > YTransaction to call > createBlob()? >
An answer is in ITransaction::validate - it must find appropriate transaction for an attachment passed to it, including use of next transaction. Except others that helps distributed transactions. And as a side effects looks like yes (though I never tested it actually) appropriate YTransaction can (or even DTransaction) be passed to engine instead JTransaction. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
