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

Question on refreshing hibernate data object

 
Quentin Ng
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After insert a new record with hibernate, the program logic will call a stored procedure to update one of the table field.
How to refresh the hibernate data object to reflect the update field?

Thanks,
Quentin
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
session.refresh(Object outofDatePOJO)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic