Hi, I had a weird situation here and I want to know if it's really a "bug" of tapestry hibernate integration or not.
I have a Edit Page. In my onValidate() method, I have already instantiated a "current" object (que object I'm editing), and I call a BO method for validation. That method load a List of objects (the same Type of current, and including itself), and does the validation. So, In my onSuccess() method, I update my "current" object on Session. But, I get a: "a different object with the same identifier value was already associated with the session:..." That's because on onValidate() method, I called a BO method that loaded a List of objects (including the "current" object), and it was lost in memory. So, hibernate can't update it's session data. My way out of this was calling session.clear() and session.flush() after the BO validation method. So, Tapestry should do that between lifecycle methods to avoid these kind of Runtime issues? I don't think it's necessarily a Developer matter (as a framework user). Thanks, Everton ____________________________________________________________________________________ Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com