Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Queries in CMP entity bean

Arundhathi Menon
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Cld u pls help me on the following issues:
1)How do u define the findByPrimaryKey() method for compound primary keys??
2)How is it possibe to modify a findByAttribute() method so as to take on a search by two attributes?
3)How can u implement the ejbFind in CMP?
4)Is it possible to define our own method in the Home Interface of the bean class and write its sql implementation in the xml file(using ejb-sql) ?Do we have to give all user defined functions in the remote interace?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic