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:
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
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.