This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

BMP - findByPrimaryKey  RSS feed

 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1103
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I tested a BMP entity bean on JBoss server. While calling the findByPrimaryKey method on the bean, I got the following sequence(through SOPs) :

1.setEntityContext
2.ejbFindByPrimaryKey
3.setEntityContext
4.ejbActivate
5.ejbLoad
6.ejbStore
7.ejbStore

steps 1-5 are clear. But why is ejbStore called when all I want to is to read the record? is it implementation-specific(eg.JBoss)?

Thanks,
Ranga.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!