Re: [JBoss-user] [EJB/JBoss] - Unable to create data using CMP 2.0

2005-07-25 Thread Allan Kamau
Strange, you've said you've debugged the Entity bean and found that the pk field has a value perhaps using simple System.out.println(" Value of PK is:"+pk). Check to see there is nowhere in the entity bean code that you may be initializing the pk to null. Ensure that the pk field like other fields

[JBoss-user] [EJB/JBoss] - Unable to create data using CMP 2.0

2005-07-24 Thread pittupgd
Hi Friends I am using JBoss 4.0.2 and postgres7.2. Now my primarykey field is of type java.lang.Long. I have kept the jdbc and sql type as follows BIGINT BIGINT When I try to create a record using the CMP I get the following error va.sql.SQLException: ERROR: ExecAppend: Fail to add null value i