Update model from EGL [message #1260615] |
Sat, 01 March 2014 18:00 |
Arseniy Isakov Messages: 118 Registered: May 2012 |
Senior Member |
|
|
Hello
I need to update model during generation process. I am calling template in following way:
try {
context.getModelRepository().getTransactionSupport().startTransaction();
template.process();
context.getModelRepository().getTransactionSupport().commitTransaction();
}catch (EolRuntimeException rex) {
context.getModelRepository().getTransactionSupport().rollbackTransaction();
throw rex;
}
This code I placed in the GMF wizard.
As result i got following exception:
Transaction aborted due to concurrent write
Do you have any suggestion?
Thanks
Arseniy Isakov
[Updated on: Sat, 01 March 2014 18:16] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03616 seconds