`

hibernateTemplate.evict 把对象和hibernate分离

阅读更多

hibernateTemplate.evict

session.evict

都可以把hibernate查询的对象与hibernate分离,当对象中有延迟加载的对象时,get可以不去查询表.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics