• Post Reply Bookmark Topic Watch Topic
  • New Topic

Differences

 
palukuri nag
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai
what is the difference between EJB-FIND and EJB_SELECT.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ejbSelect methods are similar to ejbFind methods. The two major differences are:
  • ejbSelect methods are internal to the Entity Bean. In other words you do not define them in the Home Interface.
  • ejbSelect methods execute in the transaction context of whatever method calls them. ejbFind methods define what transaction context they execute in.

  •  
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!