Hibernate3.5.1需要引入的包有\hibernate-distribution-3.5.1-Final\lib\required 目录下的6个包
和\slf4j-1.5.8\slf4j-nop-1.5.8.jar
由于Hibernate3.5.1集成了Hibernate Annotation,所以不需要另外引入hibernate-annotation.jar和hibernate-commons- annation.jar, 还需要引入\hibernate-distribution-3.5.1-Final\lib\jpa\hibernate-jpa-2.0-api-1.0.0.Final.jar,
此时如果出现如下错误
Exception in thread "main" org.hibernate.HibernateException: No CurrentSessionContext configured!
需要在hibernate.cfg.xml中加入
- <property name="current_session_context_class">thread</property>
分享到:
相关推荐
hibernate的最新包,功能不以前的包强大!赶紧下吧,我已经用了,不错哦!
Hibernate3.5.1-Final-API.chm 方便实用,支持索引,最新版,效率大大提高,分享给大家 最新版3.6的api http://download.csdn.net/source/2821065
hibernate3.5.1Final.核心API chm版
Struts2.2.1+Spring3.1.0.M2+Hibernate3.5.1整合配置源码,在源码中简单地实现了查询、新增、删除操作。
整合struts2.18+spring3.0.2+hibernate3.5.1,全部都是目前最新版本。手动添加的jar包,没有任何冗余。数据库是mysql5.0,有一张表“Test”,里面有两个字段“testid”、“testvalue”。
NULL 博文链接:https://zhenjw.iteye.com/blog/653482
NULL 博文链接:https://yangq.iteye.com/blog/656230
hibernate 3.5 final 下载 url hibernate3.5.0-final下载链接 hibernate3.5.0-final终于出来啦
protocolbuffer(以下简称PB)是google 的一种数据交换的格式,它独立于语言,独立于平台。...由于它是一种二进制的格式,比使用 xml 进行数据交换快许多。可以把它用于分布式应用之间的数据通信...protoc-3.5.1-win32.zip
一份关于整合spring3.0 struts2.1.8 JPA( hibernate3.5.1Final)的jar包清单
jquery 3.5.1 for javascript developers
jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-eclipse-非maven版本jeecg-3.5.1-...
jquery3.5.1版本
selenium-java-3.5.1.zip selenium-dotnet-3.5.1.zip selenium-dotnet-strongnamed-3.5.1.zip selenium-3.5.1-javadoc.jar selenium-server-3.5.1.zip selenium-server-standalone-3.5.1.jar IEDriverServer_Win...
protobuf 3.5.1 的jar文件及maven-3 和protoc.exe protobuf 3.5.1 的jar文件及maven-3 和protoc.exe protobuf 3.5.1 的jar文件及maven-3 和protoc.exe
python-3.5.1 32位 python-3.5.1 32位 python-3.5.1 32位
Ice-3.5.1源码
layer3.5.1下载