Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Queries in CMP entity bean  RSS feed

 
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?
Thanks
Menon
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!