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

cant get primary key value

 
Giselle Dazzi
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
In my ejb I have a method to get the primary key, but it always returns null, always. any ideas ? ANYTHING, Im getting desperate. here�s my method:

[ November 24, 2003: Message edited by: Giselle Dazzi ]
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the EntityContext method getPrimaryKey() instead.
Kyle
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic