Hi, I am having some big problems with CMR. In JBoss 3.2 CVS
OrderEnt: has the PrimaryKey field id OrderLineEnt: hat the PrimaryKey Class OrderLinePrimaryKey which uses the Fields id and orderId I now want to create a CMR in which one OrderEnt can have many OrderLineEnts. When creating a new bean I get exceptions from JBoss. When looking in the log file I can see JBoss is complaining: "java.lang.IllegalStateException: Can't modify relationship: CMR field OrderLineEnt.OrderEnt_ordLines has _All_ foreign key fields mapped to the primary key columns. Primary key may only be set once in ejbCreate [EJB 2.0 Spec. 10.3.5]." What am I doing wrong ? -- Gru�, Christofer Dutz ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
