I have a table which has a compound key forming the Primary key. In this table I have collection descriptor pointing to a child table with all of the fields which make up the primary key mapped. When I run a query to get the children OJB mixes up the value of the each of the foreign keys in the child table. I have tried to play around with the order of the inverse-foreignkey fields but this has not helped. Is there any way I can explicitly tell the collection descriptor which field maps to which Thanks in advance Julian Exenberger J2EE Developer M-Web Business Solutions Tel : +27 11 340 7210 Fax : +27 11 340 7342 E-Mail : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Website: www.mwebbusiness.co.za