0 Replies Latest reply on Sep 21, 2004 2:27 AM by ad asdf

    Unknown query: public abstract emp.Employee emp.EmployeeHome

    ad asdf Newbie

      hai

      i am unable to get the findByQuery................

      i am able to insert the records.........

      but i am unable to get records............

      any solution..........

      i configured all the deployment files correctelly............

      but it is giving error like this.............

      Exception in thread "main" javax.ejb.FinderException: Unknown query: public abstract emp.Employee emp.EmployeeHome.findByPrimaryKey(java.lang.Integer) throws java.rmi.RemoteException,javax.ejb.FinderException
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.jav
      a:245)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:
      135)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
      at $Proxy0.findByPrimaryKey(Unknown Source)
      at EmployeeSalInsertClient.main(EmployeeSalInsertClient.java:34)





      any solution............

      plz help me................

      i am in deep trouble..........

      thanks & regards

      bill