Discussions

EJB programming & troubleshooting: findByPrimaryKey method

  1. findByPrimaryKey method (3 messages)

    hi everyone,

    does findByPrimaryKey method take only String as its parameter..

    thanks.

    Threaded Messages (3)

  2. findByPrimaryKey method[ Go to top ]

    Hi,

    Obviously, findByPrimaryKey accepts primarykey class as a parameter.
    Check u'r previous thread with title 'check my code'

    Regards
    Saran
  3. findByPrimaryKey method[ Go to top ]

    hi saran,

    i changed the Employeeid to id in my previous code,
    still it gives the same error "home interface must define the findByPrimaryKey".............

    it is giving the same error even if i try to create the jar file from the command prompt and not using the deployer tool. what could be the problem,

    thanks again


    bye
    mahadev



  4. findByPrimaryKey method[ Go to top ]

    Hi Mahadevan,

    Changing employeeId to id is not a solution for u'r problem..
    What a variable name change will do..?

    In u'r prevoius thread i answered in detail, the changes u have to make in u'r code.. please have a look..

    Regards
    Saran