Hi, I am facing a problem of null pointer exception while inserting a record in DB. I am using CMP- Entity Bean on Weblogic6.1 and Oracle8.1.7. I think this is the problem of weblogic 'coz record is getting insearted in database though inseart command in SQLPlus. Say, In a table PO there are 15 fields out of will 5 are not null able and 10 are null able. Out of these 10 null able fields two fields are of Varchar2 and Date type. Now, when I create a new record with the mandatory fields only it throws Null Pointer Exception. But When I create a new record with not null able fields and that Varchar2 and date type fields, it creates a new records. I don't know why it is throwing null pointer exception for null able fields. Although I can handle this for Varchar2 by sending blank space but what is the solution of Date then. I will appreciate any help for u. Please respond soon...Thanks
subject: Null Pointer while creating a new records