Jump to content

sokel

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by sokel

  1. Hi there! <br />Can someone look at my solution if it might have concurrency issues with Sqlconnection:<br />1. Dbxexpress connection on Unimainmodule <br />2. One Sqldataset and one dataprovider on a separate datamodule. <br />3. Business logic in a separate unit <br />4. On unimainmodule create ; an instance of datamodule and an instance of datamodule are created and freed on unimainmodule destroy. <br />5. On datamodule create, Sqldataset sqlconnection is set to the sqlconnection from unimainmodule and on datamodule destroy, Sqldataset sqlconnection is set to nil<br />6. One Sqldataset and one dataprovider are shared among clientdatasets on datamodule.<br /><br />Can someone look at this scenario and tell me if there will be concurrency problem? <br /><br />Thanks<br/>

  2. 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

×
×
  • Create New...