• Post Reply Bookmark Topic Watch Topic
  • New Topic

questions of using CMP

 
Stephen Lee
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using CMP for the entity bean. In the bean, there is a field which is of the type java.sql.Timestamp. I want to get the record which time is the most updated from the bean. How can I do this in CMP?

PS: In SQL, there is GROUP BY function. Is there any similar function in EJB-QL?
Stephen Lee
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!