[ http://jira.andromda.org/browse/SPRING-94?page=comments#action_11884 ]
     
Chad Brandon commented on SPRING-94:
------------------------------------

Thanks for the fix Guillaume, but could you create a patch file instead?  You 
can do it easily from eclipse (it will make it much easier for me to tell what 
has changed and be able to automatically apply it).  Thanks!

> The load() and create() methods of the *Dao should return the most specific 
> type
> --------------------------------------------------------------------------------
>
>          Key: SPRING-94
>          URL: http://jira.andromda.org/browse/SPRING-94
>      Project: Spring Cartridge
>         Type: Improvement
>     Reporter: Guillaume Lederrey
>     Assignee: Chad Brandon
>  Attachments: SpringDao.vsl, SpringDao.vsl.diff, SpringHibernateDaoBase.vsl, 
> SpringHibernateDaoBase.vsl.diff
>
> As seen in http://galaxy.andromda.org/forum/viewtopic.php?p=3457
> In case of entity inheritanec, the load() and create() methods of the Dao 
> return type is the rootof the hierarchy, not the most specific type.
> Example :
> Doctor extends Person
> In this case, DoctorDao.create() return type will be Person and not Doctor.
> I think we should use the most specific type as much as possible ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-devel mailing list
Andromda-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to