RE: [JBoss-dev] fk in compound pk

2001-11-09 Thread Dain Sundstrom
The problem has to do with the EJB spec. The spec says that the pk must be set in the ejbCreate method and then can't be changed. The spec also says that cmr fields can not be set until ejbPostCreate. Furthermore the spec only allows cmp-fields in compound pks. I haven't thought of a way

Re: [JBoss-dev] fk in compound pk

2001-11-09 Thread Andreas Schaefer
Sundstrom To: 'Ken Chang' ; [EMAIL PROTECTED] Sent: Friday, November 09, 2001 1:13 PM Subject: RE: [JBoss-dev] fk in compound pk The problem has to do with the EJB spec. The spec says that the pk must be set in the ejbCreate method and then can't be changed. The spec

RE: [JBoss-dev] fk in compound pk

2001-11-09 Thread Dan OConnor
On 9 Nov 01, at 15:13, Dain Sundstrom wrote: this yet. I'm considering supporting the mapping a cmp-field to the same column as a cmr-field, but this opens a big can of worms. Most of the Hi Dain, For what it's worth, this is how I do it in the MVCSoft Persistence Manager, and just have