IBX's Firebird Pascal API uses the IProvider interface to get an attachment.
It uses IAttachment to get a transaction (single database) or
IDtc/IDtcStart for a multi-database transaction.
On 05/12/2019 10:31, Jiří Činčura wrote:
3. A transaction (ITransaction) is disposed of with a "release"
4. An attachment (IAttachment) is disposed of with a "detach".
Interesting. I'm getting the transaction and attachment from the
IExternalContext which si probaby slightly different. And now I'm wondering
whether I should release those two at all. I suppose only core guys can tell me
for sure.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel