Hibernate calling get() after save() on the newly created record within the same transaction

前端 未结 1 1249
野趣味
野趣味 2021-01-27 04:31

I\'m using hibernate 3.2.7 without spring (don\'t ask, client doesn\'t support spring) and I\'m running into an issue with my implementation of the open-session-in-view pattern.

相关标签:
1条回答
  • 2021-01-27 05:03

    Have you tried doing a Session.refresh() on the object?

    0 讨论(0)
提交回复
热议问题