If you want a CMP field that can be null, use java.lang.Integer instead
of int.
Jeff
-Original Message-
From: Eduardo Estefano
Sent: Mon 4/9/2001 12:10 PM
To: Orion-Interest
Cc:
Subject:Creating new CMP records
I have a CMP EJB that has a foreign key field in it
I have a CMP EJB that has a foreign key field in it (DepartmentID). This
field can be null (removed other fields for simplicity):
CREATE TABLE ACTIVITY (
ACTIVITYID NUMBERNOT NULL,
DEPARTMENTID NUMBER
)
The ActivityID and DepartmentID are class variables o