Unable to insert data into a NOT NULL field
Applies to:
Websphere 3.5, VisualAge and Oracle
Description:
An issue when developing CMP EJB
Cause:
a. The NOT NULL fields are not initialized by VAJ.
b. A null value is inserted to a NOT NULL field.
JAVA-EJB 2.x data base ejb insert data, cmp ejb insert data, data base ejb insert, ejb example inserting data into the database, ejb insert data, how to insert data in ejb, insert data from ejb to database, insert data in ejb, j, lrm-00118: syntax error at '=' at the end of input, oracle
Initialize all the NOT NULL fields by editing the create method for the Entity bean.
Create a constructor that will initialize all the value.