• Post Reply Bookmark Topic Watch Topic
  • New Topic

need ejbpostcreate method for each create method in the bean  RSS feed

 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it must to have an ejbpostcreate method for each create method ?
Regards,
Sangeetha
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is a must for Entity beans.
 
Sergiu Truta
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to have a ejbPostCreate() method with the same signature as the ejbCreate() method. They are useful when you need to implement cmr(container manager relationship) because the relations are set inside the ejbPostCreate().
Sergiu.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!