[ http://jira.andromda.org/browse/SPRING-120?page=history ] Peter Friese resolved SPRING-120: ---------------------------------
Resolution: Won't Fix I see your point (in fact, Matthias and I talked about this before). I will see how feasible it is to implement such a method on all affected DAOs. For the moment, I'll set this issue to "Won't fix". > DAOs should also contain rebind(Object) and rebind(Collection) methods > ---------------------------------------------------------------------- > > Key: SPRING-120 > URL: http://jira.andromda.org/browse/SPRING-120 > Project: Spring Cartridge > Type: Improvement > Versions: 3.1RC1 > Reporter: Peter Friese > Assignee: Chad Brandon > Fix For: 3.1RC1 > > If working with detached objects, one needs a way to be able to re-attach the > detached objects to the session. The hibernate guys suggest using > session.lock(object, LockMode.NONE) to achieve this. > I suggest adding rebind(Object) and rebind(Collection) methods. In fact, > they'll look very similar to the already existing update() methods. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl