Unable to insert data into a NOT NULL field

  • Share
  • Share

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 , , , , , , , , , ,

  1. admin
    March 9th, 2009 at 18:22 | #1

    Initialize all the NOT NULL fields by editing the create method for the Entity bean.

  2. admin
    March 9th, 2009 at 18:22 | #2

    Create a constructor that will initialize all the value.

  1. No trackbacks yet.