Community
Participate
Working Groups
I have a multi-valiued reference which is realized as a List: <orm:one-to-many name="vorgaben" orphan-removal="true" target-entity="ch.arenae.phoenix.domain.security.Benutzervorgabe"> <orm:order-column/> <orm:join-column/> <orm:cascade> <orm:cascade-all/> </orm:cascade> </orm:one-to-many> In the annotation model i set the property "Order by" on the "One To Many" element to "nummer ASC". Texo generates this (EclipseLink ORM): <orm:one-to-many name="vorgaben" orphan-removal="true" target-entity="ch.arenae.phoenix.domain.security.Benutzervorgabe"> <orm:order-by>nummer ASC</orm:order-by> <orm:order-column/> <orm:join-column/> <orm:cascade> <orm:cascade-all/> </orm:cascade> </orm:one-to-many> This is not valid. It should not include the order-column field if order-by is specified. I was using Texo version 0.1.0.v201109262010.
Solution available in latest build, can you try it? gr. Martin
Thanks! Works very well. That was fast! (Pity you couldn't make it to ece2011)