- This topic has 2 replies, 2 voices, and was last updated 4 years, 9 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Dear Kim
kbmMW 5.14.0. ORM with UNIDAC and Firebird
All ORM queries don’t return object and list of object if I call function without transaction in parameters.
I see in DbMonitor this problem: Default transaction is started, query is executed and default transaction is committed before object was created from dataset, may be before dataset was fetched. Anyway dataset has field definition but recordscount = 0 and as result Object or Object List = nil.
How can I fix it?
Hi,
So if you call ORM.Query with a TkbmMWTransaction instance, it will work as expected? And if not it will not work?
best regards
Kim/C4D
If I call ORM.Query with TkbmMWTransaction it will work fine.
Thanks
Vadim Mescheryakov