Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Primary key  RSS feed

 
sushant prabhu
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

when i deploy an entity bean with cmp the bean in the persistence tab the primary key
type should be of the type primary key class but i see only
java.lang.String and java.lang.Object.when i check compliance
i get an error that in ejb product
the home interface myst define a findbyprimarykey method.
what could be the reason.
the data type of my pk is String
 
Madhu Juneja
Ranch Hand
Posts: 176
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!