• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on refreshing hibernate data object  RSS feed

 
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
Boost this thread!