課程
/后端開發(fā)
/Java
/Hibernate初探之單表映射
openSession與getCurrentSession的區(qū)別是什么?有人能講解一下嗎?求老師講解。
2017-11-21
源自:Hibernate初探之單表映射 2-5
正在回答
openSession需要手動關閉線程,getCurrentSession自動關閉線程
openSession不會自動提交事務,getCurrentSession會
Robert_Langdon
舉報
Java持久化框架Hibernate入門教程,掌握Hibernate基本概念
2 回答openSession() 和getCurrentSession()的區(qū)別
1 回答openSession和getCurrentSession
4 回答openSession和getCurrentSession打印的hashcode都是一致的:
3 回答opensession與getcurrensession
2 回答load與get區(qū)別
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關注慕課網(wǎng)微信公眾號
2017-11-21
openSession需要手動關閉線程,getCurrentSession自動關閉線程
2017-11-21
openSession不會自動提交事務,getCurrentSession會