• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EntityBean instance's life

 
Joe Harry
Ranch Hand
Posts: 10082
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

When we call remove() on an Entity Bean, the real entity in the database gets deleted or removed and the Entity Bean that represented this row in the database goes to the bean pool. So does this mean that the state of this particular bean instance gets initialized or reset and then sent to the pool?
 
Kalyan Anand
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. An object in the pool doesn't represent any entity in the database.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic