No, deffinitely it's Hibernate 2 with Spring 1.1. I can use the update() fuction if i'm still in the request here i created the object getHibernateTemplate.create(obj), but once It's created, It's imposible to update without getting the exception.
Anyone has an idea? 2005/9/19, Nacho Jimenez <[EMAIL PROTECTED]>: > No, I think i'm using hibernate2 (i'm uising Ugo's CHS petstore > libraries), but i'll try. > > > > 2005/9/19, Mark Lundquist <[EMAIL PROTECTED]>: > > > > On Sep 19, 2005, at 8:12 AM, Nacho Jimenez wrote: > > > > > Hi all, > > > > > > I'm working in a cocoon-hibernate-spring project, and I'm stuck in an > > > Illegal attempt to associate a collection with two open sessions > > > exception eveytime I try to update an persistent object with the > > > getHibernateTemplate().update(Object) function. > > > > Are you using Hibernate 3? Try using merge() instead of update(). > > —ml— > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >
