Handling Firebird Generators in Multi-Tenant systems

When we use XData with a single database with Firebird 3 and greater we register the Generator with

 Generator := (TSQLGeneratorRegister.GetInstance.GetGenerator('Firebird3') as TFirebird3SQLGenerator);
    Generator.UseBoolean := False;
    Generator.UseIdentity := False;

Where Generator is a local variable.

If we have a system where each tenant has their own database and using TDBConnectionPoolFactory do we need to do this for each connection or is once for the whole system enough?


This is global for the whole system (actually, for the Firebird3 generator).

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.