Hi I have a question ?
I Have to Entities LayoutTemplate and SlotTemplate. A LayoutTemplate can have 1-N 
SlotTemplates. The relationship between the two entities is a Many-Many and both 
cmf-field-type values have been set to Collection.

The spec 2.1 EJB says that a Collection will allow duplicates therefore I should be 
able to create a SlotTemplate entity and add it to the LayoutTemplate's slotTemplates 
collection twice. But I can *not*. When I check the Collection implementation provided 
by JBOSS it creates a org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet aka SET even 
when I choose java.util.Collection as the cmr-field-type and does not allow me to add 
duplicate entities to the collection.

Am I doing something wrong or is JBoss wrong when it provides me with a RelationSet 
when I asked for a java.util.Collection (type) implementation.

Any help would be much appreciated

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848921#3848921

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848921


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to