Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to find if an entity is detached

 
miro swartch
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there a way to find the state of entity ie is it in detached or PERSISTENT state ?
 
miro swartch
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
miro swartch wrote:is there a way to find the state of entity ie is it in detached or PERSISTENT state ?


Is there any listener in hibernate which i can use to reattach entity if it is in detached state ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic