• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get the last Generated Identity

 
Kishore Chintalpati
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a requirement as to get the last record of a database table whose primary key is an identity field. I would appreciate if anyone can help me out in providing the EJB-QL query so that i can write a suitable finder method.
Thanks.
Kishore
[ October 14, 2005: Message edited by: Kishore Chintalpati ]
 
Jyothi Bhogadi
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

[ October 14, 2005: Message edited by: B.Jyothi ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!