0 Replies Latest reply on Jan 6, 2003 10:50 AM by Dzidas

    set method

    Dzidas Newbie

      Hello,
      I have 2 EJB beans and relations one to many (User and Access).
      User bean has abstract Collection getAccess and setAccess(Collection)
      methods.
      getAccess method returns Collection of Access home objects. Then I tranfer data to Access Tranfer Object and send to client.
      Client can update User and Access information. I get data from client in User Transfer Object and Access Transfer Object. Now I use setAccess method in User bean. But setAccess method accepts only Collection of Access home objects.
      Any idea, how I can easy transfer from Access Transfer Object to Access EJB object. If I create Access home object, why I will use setAccess object? I can use only this call...
      thanks,
      dzidas