• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cannot add FindAll() and more

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I�ve done the bottom-up mapping with WSAD. Then cannot add FindAll() � the error is:
�Must implement the inherited abstract method MyBeanHome.FindAll()� in both _MyBeanHome_stab.java and EJSRemoteCMPMyBeanHome.java.
The same story when I try to add more parameters to ejbCreate method,
Also I cannot test FindByPrimaryKey method, because I cannot select any PK value except null�
Could you please help and tell me where I do wrong?
Thanks in advance
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jenny Kalinina:
I�ve done the bottom-up mapping with WSAD. Then cannot add FindAll() � the error is:
�Must implement the inherited abstract method MyBeanHome.FindAll()� in both _MyBeanHome_stab.java and EJSRemoteCMPMyBeanHome.java.
The same story when I try to add more parameters to ejbCreate method,
Also I cannot test FindByPrimaryKey method, because I cannot select any PK value except null�
Could you please help and tell me where I do wrong?
Thanks in advance


You've not done anything wrong. After you add the findAll() method in the Home interface and update the extensions file with the extensions editor, you have to regenerate the EJB classes with choosing "Generate>Deploy and RMIC code"
Kyle
 
reply
    Bookmark Topic Watch Topic
  • New Topic