Jump to content

Sebaot Web


Darth Florus
 Share

Recommended Posts

Hi there!

Can someone look at my solution if it might have concurrency issues with Sqlconnection:

1. Dbxexpress connection on Unimainmodule

2. One Sqldataset and one dataprovider on a separate datamodule.

3. Business logic in a separate unit

4. On unimainmodule create ; an instance of datamodule and an instance of datamodule are created and freed on unimainmodule destroy.

5. On datamodule create, Sqldataset sqlconnection is set to the sqlconnection from unimainmodule and on datamodule destroy, Sqldataset sqlconnection is set to nil

6. One Sqldataset and one dataprovider are shared among clientdatasets on datamodule.

 

Can someone look at this scenario and tell me if there will be concurrency problem?

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...