RE: [JBoss-user] CMR problems -- Newbie

2003-11-08 Thread Stephane Nicoll
[mailto:[EMAIL PROTECTED] Sent: Fri 11/7/2003 23:47 To: [EMAIL PROTECTED] Cc: Subject:[JBoss-user] CMR problems -- Newbie I am trying to get started with EJB on JBoss, particularly creating container-managed EJBs. I am using JBoss 3.2.2 and MySQL on the backend. I have two simple

[JBoss-user] CMR problems -- Newbie

2003-11-07 Thread Steven Nakhla
I am trying to get started with EJB on JBoss, particularly creating container-managed EJBs.  I am using JBoss 3.2.2 and MySQL on the backend.  I have two simple beans, Employee and Address.  I would like to establish a CMR between the two so that an Employee bean can call the function setAddress(Ad

Re: [JBoss-user] CMR Problems

2003-03-24 Thread Alex Loubyansky
Hello Christofer, I guess, you are using CMR setter to establish relationship. In case of FK fields are mapped to primary key columns you can't use CMR setters, as it involves changing primary key value that is not allowed. Perhaps, I might not throw this exception if new value does not change pri

[JBoss-user] CMR Problems

2003-03-24 Thread Christofer Dutz
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 be

[JBoss-user] CMR problems with Jboss 3.0.3

2003-03-04 Thread Upendra Kanda
Hi, Here is the problem I am experiencing.. I have 3 related entities - A, B and C. There is a many-to-many relationship between A and B and a many-to-one between B and C. I am using CMR to manage these relationships. I am trying to set object B on object A. Before that, I set object C on ob

[JBoss-user] CMR problems with Jboss 3.0.3

2003-03-04 Thread Upendra Kanda
Hi,   Here is the problem I am experiencing.. I have 3 related entities - A, B and C. There is a many-to-many relationship between A and B and a many-to-one between B and C. I am using CMR to manage these relationships. I am trying to set object B on object A. Before that, I set object C on o