Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » No row with the given identifier exists on Refresh
No row with the given identifier exists on Refresh [message #608771] Tue, 17 July 2007 15:04
Simon Bernard is currently offline Simon BernardFriend
Messages: 341
Registered: July 2009
Senior Member

We have 2 clients A and B which handle an object go1 (GraphicalObject).

go1 have a lazy list of objects which contains an object a2

<class entity-name="GraphicalObject" abstract="false" lazy="false"
discriminator-value="GraphicalObject" table="`graphicalobject`">


<list name="annotations" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`abstractannotation_graphicalobject_e_id`"
not-null="false" unique="false"/>
<list-index column="`graphicalobject_annotations_idx`"/>
<one-to-many entity-name="AbstractAnnotation"/>

The first client A removes a2 from the database.
It notifies B by JMS about this removing.
B tries to refresh its model by using the refresh method :


but we have an exception when refreshing :

org.hibernate.UnresolvableObjectException: No row with the given
identifier exists: [Annotation#950273]
org.hibernate.event.def.DefaultRefreshEventListener.onRefres h(
at org.hibernate.impl.SessionImpl.fireRefresh( 911)
at org.hibernate.impl.SessionImpl.refresh(

it seems that it can't refresh the deleted object.

How can I refresh go1 on the client B ?
Previous Topic:No row with the given identifier exists on Refresh
Next Topic:[EMF Compare] schema for MatchEngine missing
Goto Forum:

Current Time: Tue Aug 16 03:27:42 GMT 2022

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

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

Back to the top