[ http://thecla.homeftp.net:8380/jira/browse/HIB-16?page=comments#action_11105 ] Carlos Cuenca commented on HIB-16: ----------------------------------
This issue is also related with HIB-10. I suggest to create a new stereotype for components, since they are not mapped as classes. Example, extracted from http://www.hibernate.org/hib_docs/reference/en/html/components.html <class name="eg.Person" table="person"> <id name="Key" column="pid" type="string"> <generator class="uuid.hex"/> </id> <property name="birthday" type="date"/> <component name="Name" class="eg.Name"> <!-- class attribute optional --> <property name="initial"/> <property name="first"/> <property name="last"/> </component> </class> ======================================================== <set name="someNames" table="some_names" lazy="true"> <key column="id"/> <composite-element class="eg.Name"> <!-- class attribute required --> <property name="initial"/> <property name="first"/> <property name="last"/> </composite-element> </set> > Component Support > ----------------- > > Key: HIB-16 > URL: http://thecla.homeftp.net:8380/jira/browse/HIB-16 > Project: Hibernate Cartridge > Type: New Feature > Reporter: Davin Coleman > Assignee: Matthias Bohlen > > > The Hibernate cartridge should support Hibernate components. I propose that > an association marked as composition should identify the component. > The component attributes should be persisted within the same table as the > containing element. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://thecla.homeftp.net:8380/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel
