Jump to content

Urgent!!! Multi Section ???


Gustavo.deo

Recommended Posts

I have a project in which some moments I need to control the transactions manually !!! I happen to have problems, because all users are staying in the same section !!! User X initiates the transaction ... user Y does Start and commit in his section (which should be separated) .. If user X does the Rollback, everything that user Y did will be lost !!! How to instantiate a section for each user ?? Thank you!!!

 

Connection Type FireDac and DataSnap 

Link to comment
Share on other sites

Do you have database components on ServerModule? That is the wrong place...

 

Sorry my english but I use a translator !!!

My connection components are in MainModule ...

I have several DataModules in my project ... I noticed that when SQL is in DataModulo1, the transactions work ... When they are in the other DataModules, the transactions are ignored ... as if they were in another session ...

How to make all DataModulo use the same session ???

Thank you!!!

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.

×
×
  • Create New...