Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » CDO and trasient feature(CDO ignore a transient feature and don't include it in the current transaction )
CDO and trasient feature [message #1384754] Sat, 31 May 2014 13:03 Go to next message
DODI Dechanel is currently offline DODI DechanelFriend
Messages: 1
Registered: May 2014
Junior Member
I bind an object withe a transient feature and after that, I'm trying to save it. The CDO view ignore it and do not include it in the current transaction. this exception arise:

java.lang.IllegalStateException: Not active: Transaction 1 [MAIN]
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.checkActive(LifecycleUtil.java:72)
at org.eclipse.net4j.util.lifecycle.Lifecycle.checkActive(Lifecycle.java:190)
at org.eclipse.emf.internal.cdo.view.AbstractCDOView.getStore(AbstractCDOView.java:177)
at org.eclipse.emf.internal.cdo.CDOObjectImpl.cdoStore(CDOObjectImpl.java:1022)
at org.eclipse.emf.internal.cdo.CDOObjectImpl.eStore(CDOObjectImpl.java:570)
at org.eclipse.emf.internal.cdo.CDOObjectImpl.dynamicGet(CDOObjectImpl.java:492)
at
Re: CDO and trasient feature [message #1386114 is a reply to message #1384754] Fri, 13 June 2014 13:01 Go to previous message
Per Sterner is currently offline Per SternerFriend
Messages: 77
Registered: October 2011
Member
More information would be nice Smile

The stacktrace tells you that the accessed CDOObject isn't valid anymore, because the view or transaction has been closed.
Previous Topic:CDATA appearing in xsd:any data
Next Topic:CDO Transaction becomes not active the second time I open it
Goto Forum:
  


Current Time: Sun Dec 21 13:38:34 GMT 2014

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

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