[ http://jira.andromda.org/browse/HIB-182?page=comments#action_12601 ]
Carlos Cuenca commented on HIB-182: ----------------------------------- I think that maybe this issue is duplicated with http://team.andromda.org/jira/browse/HIB-146. There is a patch to apply to this, it changes the names of some hibernate cartridge properties and then implement multivalued attributes basically copying all the methods in HibernateAssociationEnd to HibernateAttribute, it also make the changes to Bpm4Struts and Spting cartridge. I started reading the patch because of this forum comment: http://galaxy.andromda.org/forum/viewtopic.php?t=109&postdays=0&postorder=asc&start=15 but I think it is quite big to do before releasing, so maybe it is better to wait afer the release so we can test changes with time. Carlos > No support for array > -------------------- > > Key: HIB-182 > URL: http://jira.andromda.org/browse/HIB-182 > Project: Hibernate Cartridge > Type: Improvement > Versions: 3.1, 3.2-RC1 > Environment: All > Reporter: Martin West > Assignee: Carlos Cuenca > > if I define an attribute > numbers int[]. > The hbm.xml generated contains ... > <property name="numbers" type="int[]"> > <column name="NUMBERS" not-null="true" unique="false" > sql-type="datatype::int[]"/> > </property> > should contain > <primitive-array name="numbers" > > <key column="owner"/> > <list-index column="index" /> > <element type="integer"/> > </primitive-array> > Looks fairly complicated to support all array types but primitive arrays look > straight forward. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642