Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Cannot modify resource set without a write transaction
Cannot modify resource set without a write transaction [message #106864] Tue, 15 January 2008 15:43 Go to next message
Eclipse UserFriend
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
Re: Cannot modify resource set without a write transaction [message #106920 is a reply to message #106864] Wed, 16 January 2008 08:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: frederic.ventura.eurogiciel.fr

nobody knows? :(
Re: Cannot modify resource set without a write transaction [message #106930 is a reply to message #106920] Wed, 16 January 2008 08:24 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
I think emf transaction questions are answered on the main emf newsgroup.

gr. Martin

fred wrote:
> nobody knows? :(
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: Cannot modify resource set without a write transaction [message #106944 is a reply to message #106930] Wed, 16 January 2008 08:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: frederic.ventura.eurogiciel.fr

Ok, I'll try to post on the emf main newsgroup
thanks ;-)
Re: Cannot modify resource set without a write transaction [message #106972 is a reply to message #106920] Wed, 16 January 2008 11:16 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Fred,

This is more of a question for the EMF newsgroup where Christian is more
likely to see it since the transaction support graduated from EMFT last
release. I see you've reposted there...


fred wrote:
> nobody knows? :(
>
Re: Cannot modify resource set without a write transaction [message #613992 is a reply to message #106864] Wed, 16 January 2008 08:10 Go to previous message
fred is currently offline fredFriend
Messages: 35
Registered: July 2009
Member
nobody knows? :(
Re: Cannot modify resource set without a write transaction [message #613993 is a reply to message #106920] Wed, 16 January 2008 08:24 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
I think emf transaction questions are answered on the main emf newsgroup.

gr. Martin

fred wrote:
> nobody knows? :(
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: Cannot modify resource set without a write transaction [message #613994 is a reply to message #106930] Wed, 16 January 2008 08:29 Go to previous message
fred is currently offline fredFriend
Messages: 35
Registered: July 2009
Member
Ok, I'll try to post on the emf main newsgroup
thanks ;-)
Re: Cannot modify resource set without a write transaction [message #613996 is a reply to message #106920] Wed, 16 January 2008 11:16 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31469
Registered: July 2009
Senior Member
Fred,

This is more of a question for the EMF newsgroup where Christian is more
likely to see it since the transaction support graduated from EMFT last
release. I see you've reposted there...


fred wrote:
> nobody knows? :(
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[EMFATIC] Is the source or binaries around
Next Topic:[CDO][0.8.0] Nested Transaction
Goto Forum:
  


Current Time: Mon Sep 21 11:14:07 GMT 2020

Powered by FUDForum. Page generated in 0.01853 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top