Skip to main content



      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 10: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 03: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 03:24 Go to previous messageGo to next message
Eclipse UserFriend
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 03: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 06: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 03:10 Go to previous message
Eclipse UserFriend
nobody knows? :(
Re: Cannot modify resource set without a write transaction [message #613993 is a reply to message #106920] Wed, 16 January 2008 03:24 Go to previous message
Eclipse UserFriend
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 03:29 Go to previous message
Eclipse UserFriend
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 06:16 Go to previous message
Eclipse UserFriend
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? :(
>
Previous Topic:[EMFATIC] Is the source or binaries around
Next Topic:[CDO][0.8.0] Nested Transaction
Goto Forum:
  


Current Time: Fri Jul 11 20:23:02 EDT 2025

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

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

Back to the top