Gustavo.deo Posted April 14, 2018 Share Posted April 14, 2018 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 Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted April 14, 2018 Share Posted April 14, 2018 Do you have database components on ServerModule? That is the wrong place... Quote Link to comment Share on other sites More sharing options...
Gustavo.deo Posted April 17, 2018 Author Share Posted April 17, 2018 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!!! Quote Link to comment Share on other sites More sharing options...
Oliver Morsch Posted April 17, 2018 Share Posted April 17, 2018 You must use UniDataModules, not normal DataModules. Quote Link to comment Share on other sites More sharing options...
Gustavo.deo Posted April 18, 2018 Author Share Posted April 18, 2018 Yes.. I use UniDataModules... Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 19, 2018 Administrators Share Posted April 19, 2018 Unigui edition and version? Sent from my SM-N950F using Tapatalk Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.