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