Running Junit Tests, I would like to upgrade and then do a test on a Mega Transaction, using Mega Java API.
One thing is that i don't want to dispatch the changes - I just want to check by a test.
Here is the logic:
1 - Create a Server Mega Application
2 - Set Interactive Mode to Batch
3 - Open Database for a particular environment (with user + password)
4 - Create Elements in a new Library
5 - Test
6 - Close Mega Root
7 - Abort Transaction
8 - Run System.gc()
I have two problems:
1 - The transaction is not aborted, it is dispatched, even if i do a myTransaction.abort()
2 - There is always a remaining mgwmapp.exe process
We've recently upgraded our Mega Hopex version to CP7 (http://community.mega.com/t5/Technical-Product/Excel-VBA-End-Macro-correctly-to-close-mgwmapp-exe/m-...
How can we correctly abort/discard changes using Mega Java API?
Is there a way not to have a remaining mgwmapp.exe process?
Thanks in advance.
Solved! Go to Solution.