Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

findByPrimaryKey in EJB QL

 
Lijun An
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gurus,
I have a CMP entity bean with a PrimaryKey class containing multuple fields. Could you tell me how to write the EJB QL for findByPrimaryKey in ejb-jar.xml descriptor?
Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic