EntityBean的create方法问题。
EntityBean用create方法,client.create(1,"don");
报一下错
javax.ejb.CreateException: In EJB Ddd, primary key field 'id' was not set during ejbCreate. All primary key fields must be initialized during ejbCreate.
但是用client.create(1);却能插入纪录,而且我的数据库表主键都有的。到底如何解决啊?