1 Reply Latest reply on Jul 30, 2003 8:47 AM by eldon

    a problem about find***

    yjyang

      This problem has bored me for a long time!
      Hope someone resolve it !Thank you!
      I write an entityBean(cmp2.0),and deployed successfully,but when i run it,it appeared the following error:
      15:57:15,820 ERROR [LogInterceptor] EJBException:
      javax.ejb.EJBException: Unknown load group: name=group name
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.getLoadGroup(J
      DBCEntityBridge.java:420)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.getLoadFields(JD
      BCLoadEntityCommand.java:255)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoad
      EntityCommand.java:83)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoad
      EntityCommand.java:62)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreM
      anager.java:572)

      this happened when i use the get***(),and if i don't use the getProperty(),it don't appear error,and get the right collection!
      Please resolve it ,Thank you very much

        • 1. Re: a problem about find***
          eldon

          Do you resolve this problem? I've a problem like that. I my case, the finders methods works fine when a Collection return only one object. But when the find* methods returns more than one, a excpetion is throw:
          09:40:31,691 ERROR [LogInterceptor] EJBException:
          javax.ejb.EJBException: Unknown load group: name=group name
          at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.getLoadGroup(JDBCEntityBridge.java:490)
          (etc...)
          Can you help me?

          Thanks a lot !