[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
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
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
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
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
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