[ http://jira.andromda.org/browse/HIB-146?page=comments#action_12211 ]
     
Dan Adamson commented on HIB-146:
---------------------------------

Apologies, I also snuck in a fix for inheritance for entities in the spring 
cartridge in this patch...

line 166 of andromeda-spring patch: 

final $manageable.fullyQualifiedEntityName entity = 
($manageable.fullyQualifiedEntityName)this.getDao().load($identifier.name);

I added a casting here, which allows for inheritance of entities without 
changing method signatures. The load method returns the base class type, so 
this is necessary.

see: http://galaxy.andromda.org/forum/viewtopic.php?t=593&highlight=inheritance
and: http://galaxy.andromda.org/jira/browse/SPRING-94

> Add collection support for primary values
> -----------------------------------------
>
>          Key: HIB-146
>          URL: http://jira.andromda.org/browse/HIB-146
>      Project: Hibernate Cartridge
>         Type: New Feature
>     Versions: 3.1-RC1
>     Reporter: Dan Adamson
>     Assignee: Carlos Cuenca
>  Attachments: patch.zip
>
> The following patch allows users to specify 0..* attributes in their uml 
> models and have it generate collections properly for those attributes, with 
> mappings for both hibernate 2 and 3.  All features that were supported for 
> associations are supported, and some of the properties were consolidated.  
> Tags were added to the hibernate attributes.
> Also attached is a patch to add this support for the spring catridge.
> Note that the bpm4struts cartridge still does not support this feature. For 
> example, 0..* strings will still show up as strings, not collections.  It 
> would be great if some kind sole who knows the bpm4struts cartridge would 
> update it, otherwise I will try to update it at some point.




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

Reply via email to