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
 Assigned to: 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.




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

Reply via email to