Cannot modify resource set without a write transaction [message #106864] |
Tue, 15 January 2008 15:43 |
Eclipse User |
|
|
|
Originally posted by: frederic.ventura.eurogiciel.fr
Hi everybody
I'am doing an eclipse application using GMF/TENEO/hibernate
I have an a problem which always occur :
java.lang.IllegalStateException: Cannot modify resource set without a
write transaction
at
org.eclipse.emf.transaction.impl.TransactionChangeRecorder.a ssertWriting(TransactionChangeRecorder.java:322)
at
org.eclipse.emf.transaction.impl.TransactionChangeRecorder.a ppendNotification(TransactionChangeRecorder.java:284)
at
org.eclipse.emf.transaction.impl.TransactionChangeRecorder.p rocessResourceNotification(TransactionChangeRecorder.java:25 4)
at
org.eclipse.emf.transaction.impl.TransactionChangeRecorder.n otifyChanged(TransactionChangeRecorder.java:220)
....
I have pass by this message using the DISABLE_NOTIFY option on the
initialization phase but once my editor diagram is created and opened, if
I try to select an obect on my palette and draw it in GMF, the object is
not created, my editor stay empty.
If I close my diagram editor, the exception discribed above is raised.
It seems so that it can't insert anyting in database.
Nevertheless At the first connexion, if my database is empty, tables are
succesfully created.
I've tried it with Oracle 9i and HSQL database. the same error occurs in
both cases
I hope someone could help me, I am blocked from a moment...
thank's by advance
fred
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04548 seconds