[ http://jira.andromda.org/browse/SPRING-116?page=history ]
     
Work on SPRING-116 started by Chad Brandon

> Add a transform method to the generated DAO to convert associated VO to entity
> ------------------------------------------------------------------------------
>
>          Key: SPRING-116
>          URL: http://jira.andromda.org/browse/SPRING-116
>      Project: Spring Cartridge
>         Type: New Feature
>     Versions: 3.1RC1
>  Environment: All
>     Reporter: Inderdeep Dhir
>     Assignee: Chad Brandon

>
> The generated DAO interface contains a method to transform from the entity to 
> an associated value object. However, there is no method added automatically 
> for the reverse transformation. 
> A typical scenario is where the update methods on a webservice receive value 
> objects from the client and the service method invokes the DAO to persist the 
> changes. Before invoking the DAO, the method needs to transform the VO's into 
> entities. 
> Essentially, an operation like the current transform one for VOs but have it 
> do the opposite for when you transform VOs to entities.
> Suggested name for the new method is toEntityName(EntityVO vo) (e.g. 
> toCar(CarVO vo))




-------------------------------------------------------
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