RE: Creating new CMP records

2001-04-09 Thread Jeff Schnitzer
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

Creating new CMP records

2001-04-09 Thread Eduardo Estefano
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