springmvc4+hibernate4
东家庄
这个作者很懒,什么都没留下…
展开
-
SpringMVC4+Hibernate4整合报错:Could not obtain transaction-synchronized Session for current thread
SpringMVC4+Hibernate4整合时获取currentSession时报错:Could not obtain transaction-synchronized Session for current thread转载 2018-05-27 17:10:41 · 420 阅读 · 0 评论 -
springMVC+Spring4+hibernate4的demo,最下面有资源下载
1.新建maven工程(例如)2.pom文件如下:引入maven依赖<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schema...原创 2018-05-27 17:39:04 · 227 阅读 · 0 评论