Print Page | Close Window

RemoteDB in Webbroker webmodule

Printed From: TMS Software
Category: Business Tools
Forum Name: RemoteDB
Forum Discription:
URL: http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=13767
Printed Date: 22 Oct 2019 at 11:23am


Topic: RemoteDB in Webbroker webmodule
Posted By: B. Michael
Subject: RemoteDB in Webbroker webmodule
Date 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



Replies:
Posted By: Wagner R. Landgraf
Date 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.


Posted By: B. Michael
Date Posted: 05 Aug 2019 at 2:54pm
Hi Wagner,

Thanks for the information.



Print Page | Close Window