I'm trying to model something like this:


ToDoList (1) -------> (0..*) ToDoEntry



and I want "ToDoEntry" to be ordered (i.e. use the Hibernate List mapping).



I've added two tagged values to the association end near "ToDoEntry":



a. @andromda.hibernate.collection.type=list

b. @andromda.hibernate.collection.index=listPosition



The resulting ToDoList.hbm.xml DOES have use <list> for the association 
mapping, but it does NOT contain the <index column> entry, and thus generates 
an error.



Does "listPosition" have to be an already existing attribute in ToDoEntry?  Am 
I using the correct tag to specify the column name?
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2476#2476
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to