Re: [JBoss-user] [EJB/JBoss] - Could not create Entity exception

2005-07-28 Thread Allan Kamau
I don't know if this may make a difference but it may be worth trying. Return hospitalid in place of myid, your ejbCreate() method may look like this. public Long ejbCreate(HospitalData hospitalData) throws CreateException { System.out.println("Came in ejbCreate method of Hospit

[JBoss-user] [EJB/JBoss] - Could not create Entity exception

2005-07-28 Thread pittupgd
Hello Friends, I deploy Hospital entity bean.The tables are created properly in the database. While entering a record using the CMP hospital bean I get the following error 13:23:06,031 ERROR [Hospital] Could not create entity java.sql.SQLException: Column 'hospitalid' cannot be null at co

[JBoss-user] [EJB/JBoss] - Could not create Entity exception

2005-07-28 Thread pittupgd
Hello Friends, I deploy Hospital entity bean.The tables are created properly in the database. While entering a record using the CMP hospital bean I get the following error 13:23:06,031 ERROR [Hospital] Could not create entity java.sql.SQLException: Column 'hospitalid' cannot be null at co