Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

RemoteDB in Webbroker webmodule

 Post Reply Post Reply
Author
B. Michael View Drop Down
New Member
New Member
Avatar

Joined: 08 Jul 2018
Posts: 12
Post Options Post Options   Quote B. Michael Quote  Post ReplyReply Direct Link To This Post Topic: RemoteDB in Webbroker webmodule
    Posted: 01 Aug 2019 at 4:29pm
Hi,

I would like to use RemoteDB in a Webbroker webmodule.

Would putting a TRemoteDBDatabase and XDataSet on a webmodule be ok or must I take precautions that it will be threadsafe?

Regards,

Mike
Back to Top
Wagner R. Landgraf View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2434
Post Options Post Options   Quote Wagner R. Landgraf Quote  Post ReplyReply Direct Link To This Post Posted: 01 Aug 2019 at 10:11pm
Hi Mike,
TRemoteDBDatabase is not thread-safe, just most of other database-connection components. You should create and use a different one for each thread in your app.
Back to Top
B. Michael View Drop Down
New Member
New Member
Avatar

Joined: 08 Jul 2018
Posts: 12
Post Options Post Options   Quote B. Michael Quote  Post ReplyReply Direct Link To This Post Posted: 05 Aug 2019 at 2:54pm
Hi Wagner,

Thanks for the information.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down