You are not logged in.
Looking to set the TfdConnection.ResourceOptions for manual queries from interface functions (using the mormot's connection pool), I found that it is not possible without changing the Mormot2 source.
I can get a TSqlDBFireDACConnection but it is not possible to set the fDatabase.ResourceOptions because it is readonly as a property.
I need to disable Macros (MacroCreate, MacroExpand) that cause problems to some queries and set ServerOutput based on Debug settings
Which is the best way to have access and change them when needed?
Last edited by dcoun (2021-11-21 18:00:38)
Offline
I apologize. I was looking the TSqlDBConnection.
Migrated to ZEOS finally, to follow linux developments too
Last edited by dcoun (2021-11-22 10:25:32)
Offline
I have just created a new speCreated event which could be used to customize a database connection just after its creation, and before the connection.
It should work on all connection classes.
Offline
I have just created a new speCreated event which could be used to customize a database connection just after its creation, and before the connection.
It should work on all connection classes.
Thank you very much. That's helps a lot
Offline