摘要: http://www.ibm.com/developerworks/cn/opensource/os-cn-spring-jpa/index.html?ca=drs-http://static.springsource.org/spring-data/data-jpa/docs/current/reference/html/http://static.springsource.org/spring-data/data-jpa/docs/1.0.0.M2/reference/html/zhang的笔记http://sishuok.com/forum/blogPost/list/2625.html 阅读全文
posted @ 2012-04-06 16:38 张良 阅读(217) 评论(0) 推荐(0) 编辑
摘要: http://sarin.iteye.com/blog/829738 阅读全文
posted @ 2012-04-06 16:20 张良 阅读(216) 评论(0) 推荐(0) 编辑
摘要: http://java.dzone.com/articles/springmvc3-hibernate-crud 阅读全文
posted @ 2012-04-06 15:52 张良 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 我的项目情况如下: 1、使用Springmvc 3.0.5 Hibernate3.5.6 JPA,配置persistence.xml使用mysql; 2、使用Dao、Daosupport,Service、ServiceBean,web.xml中,使用OpenEntityManagerInViewFilter; 3、在使用Junit4做单元测试时,保存数据可以通过,但是控制器中,无法保存数据,错误如下: --控制器中先执行了一次查询操作,这是操作完成的提示: DEBUG org.hibernate.loader.Loader:(Loader.java:1966) - done en... 阅读全文
posted @ 2012-04-06 10:35 张良 阅读(1504) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/xfworld/article/details/3997755#comments 阅读全文
posted @ 2012-04-06 06:57 张良 阅读(117) 评论(0) 推荐(0) 编辑