Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use ejb-Select to get multiple CMF's (tuple)

 
meka toka
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have an entity bean A which has CMF's x,y,z,a,b and A has a composite primary key class called Apk.
What will be my ejb-ql to get the CMF's A.x,A.y,A.z for all the records whose A.b matches a particular value ?
I want to get those so that i can construct a primary key class Apk out of each select statement and use it.
Regards,
Meka Toka
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic