Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error:javax.ejb.EJBException: When a cmp-field and a cmr-field (relationship) are map  RSS feed

 
Javan Li
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What can i do ?? Thanx.
 
Javan Li
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[INFO]BmBooktableBean-->ejbCreatejavax.ejb.EJBException: When a cmp-field and a cmr-field (relationship) are mapped to the same column, the setXXX method for the cmp-field may not be called. The cmp-field is read-only.
at bookmanagersystem.BmBooktable_o9vyoq__WebLogic_CMP_RDBMS.setClassid(BmBooktable_o9vyoq__WebLogic_CMP_RDBMS.java:384)
at bookmanagersystem.BmBooktableBean.ejbCreate(BmBooktableBean.java:17)
at bookmanagersystem.BmBooktable_o9vyoq__WebLogic_CMP_RDBMS.ejbCreate(BmBooktable_o9vyoq__WebLogic_CMP_RDBMS.java:1404)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:492)
at weblogic.ejb20.manager.DBManager.localCreate(DBManager.java:471)
at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:167)
at bookmanagersystem.BmBooktableBean_o9vyoq_LocalHomeImpl.create(BmBooktableBean_o9vyoq_LocalHomeImpl.java:79)
at bookmanagersystem.ClassManagerBean.addBook(ClassManagerBean.java:110)
at bookmanagersystem.ClassManagerBean_h4ce9h_EOImpl.addBook(ClassManagerBean_h4ce9h_EOImpl.java:120)
at bookmanagersystem.ClassManagerBean_h4ce9h_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:296)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:265)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!