Gustavo.deo Posted April 14, 2018 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
Oliver Morsch Posted April 14, 2018 Posted April 14, 2018 Do you have database components on ServerModule? That is the wrong place... Quote
Gustavo.deo Posted April 17, 2018 Author 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
Oliver Morsch Posted April 17, 2018 Posted April 17, 2018 You must use UniDataModules, not normal DataModules. Quote
Administrators Farshad Mohajeri Posted April 19, 2018 Administrators Posted April 19, 2018 Unigui edition and version? Sent from my SM-N950F using Tapatalk Quote
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.