Hi there,

I am using AppFuse 2.0.2 and Struts2 and Hibernate 3.

I have two entities with @ManyToOne relation. When I want to
update Many side of the relation I got this Hibernate Exception:

identifier of an instance of ir.appfuse.app.model.City was altered from 698
to 654

I guess that Hibernate tries to update entity by calling setId() method of
One side
entity while it is not detached from session.

When I disable "lazyLoadingFilter" everything works fine. 

I think that this is an issue. Any idea?

Ali Behzadian Nejad.


-- 
View this message in context: 
http://www.nabble.com/Problem-updating-entities-tp19529645s2369p19529645.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to