用CMP插入一条记录出错,请帮我看看是什么原因

02-11-15 xidu

<Error> <HTTP> <101019> <[ServletContext(id=506

1,name=DefaultWebApp,context-path=)] Servlet failed with IOException

java.rmi.RemoteException: EJB Exception:; nested exception is:

java.lang.Exception: Bean with primary key: 'sfsaewwe' not created.

java.lang.Exception: Bean with primary key: 'sfsaewwe' not created.

at model.A0001Bean_10mapu__WebLogic_CMP_RDBMS.__WL_create(A0001Bean_1

pu__WebLogic_CMP_RDBMS.java:2011)

at model.A0001Bean_10mapu__WebLogic_CMP_RDBMS.ejbCreate(A0001Bean_10m

__WebLogic_CMP_RDBMS.java:1780)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.ejb20.manager.DBManager.create(DBManager.java:737)

at weblogic.ejb20.manager.DBManager.remoteCreate(DBManager.java:707)

at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:25

at model.A0001Bean_10mapu_HomeImpl.create(A0001Bean_10mapu_HomeImpl.j

:203)

.......