EJB 2.0 again, again, please.

2001-03-06 Thread fresnaULL
Hi, I have the following entity beans which have a 1-1 relationship: person(id(integer), name(varchar)) job(id(integer), name(varchar)) This is part of my ejb-jar.xml:

Re: EJB 2.0 again, again, please.

2001-03-06 Thread Johan Fredriksson
thin ice when saying this. - Original Message - From: fresnaULL To: Orion-Interest Sent: Tuesday, March 06, 2001 10:58 AM Subject: EJB 2.0 again, again, please. Hi, I have the following entity beans which have a 1-1 relationship: person(id(integer

Re: EJB 2.0 again, again, please.

2001-03-06 Thread theis . meggerle
I'm no expert either. I have just started. Anyway, it seems like your are mixing some concepts here (IMHO). It seems like your trying to "normalize" your bean by having a foreign key (jobid) to Job. This, should be a reference to the class, i.e. public abstract setJob(Job ajob) not an integer.