<property name="hibernate.current_session_context_class">thread</property>這是在哪里找到的?hibernate安裝目錄下一定有這個(gè)標(biāo)簽的配置模板,在哪里呢,老師是在ppt中復(fù)制的,我想問(wèn)這個(gè)配置在hibernate的安裝目錄里的什么位置可以找到?
我在hibernate的安裝目錄下etc文件夾里可以找到除了<property name="hibernate.current_session_context_class">thread</property>的所有配置說(shuō)明,但是就是找不到<property name="hibernate.current_session_context_class">thread</property>,請(qǐng)問(wèn)誰(shuí)知道這個(gè)配置項(xiàng)在哪里hibernate官方給的jar包或者什么目錄里能找到?
2017-08-04
你下載的hibernate文件目錄下的\documentation\userguide\html_single,文檔里面有寫(xiě)
2016-05-31
<!--是本地jdbc事務(wù)配置你通過(guò)getCurrentSession創(chuàng)建的session會(huì)綁定到當(dāng)前線程 -->
<property name="current_session_context_class">thread</property>
找出來(lái)干嘛?只有有什么用就行了