ORM with UNIDAC and Firebird doesn’t get object and object list

Home Forums kbmMW ORM with UNIDAC and Firebird doesn’t get object and object list

Viewing 2 reply threads
  • Author
    Posts
    • #55555
      VadimMest
      Participant

      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?

       

       

       

    • #55556
      kimbomadsen
      Keymaster

      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

    • #55558
      VadimMest
      Participant

      If I call ORM.Query with TkbmMWTransaction  it will work fine.

      Thanks
      Vadim Mescheryakov

       

       

       

Viewing 2 reply threads
  • You must be logged in to reply to this topic.