File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BMP - findByPrimaryKey

 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic