![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
文章平均质量分 83
iteye_18198
这个作者很懒,什么都没留下…
展开
-
Write operations are not allowed in read-only mode
Write operations are not allowed in read-only mode ( 使用Spring提供的Open Session In View而引起Write operations are not allowed in read-only mode (FlushMode.NEVER) 错误解决: 在没有使用Spring提供的Open Se...原创 2015-03-02 08:24:40 · 181 阅读 · 0 评论 -
Spring切入点表达式常用写法
Spring切入点表达式常用写法 Spring切入点表达式常用写法 自从使用AspectJ风格切面配置,使得Spring的切面配置大大简化,但是AspectJ是另外一个开源项目,其规则表达式的语法也稍稍有些怪异。 下面给出一些常见示例的写法: 比如,下面是一个对Service包上所有方法的切面配置 <aop:confi...原创 2015-03-03 10:50:56 · 55 阅读 · 0 评论 -
http://www.java1234.com/a/javabook/javaweb/
<context:component-scan/> 扫描指定的包中的类上的注解,常用的注解有: @Controller 声明Action组件 @Service 声明Service组件@Service("myMovieLister") @Repository 声明Dao组件 @Component 泛指组件, 当不好归类时. @RequestMapping("/menu") ...原创 2015-03-04 16:26:03 · 1052 阅读 · 0 评论 -
spring4.x 和 hibernate 4.x 相关配置和使用方式
spring4.x 和 hibernate 4.x 相关配置和使用方式 关于spring和hibernate的使用以及特征等等,在此不再啰嗦,相信大家也都知道,或者去搜索一下即可。 本篇博文的内容主要是我最近整理的关于spring4.x 和 hibernate 4.x 相关配置和使用方式,当然spring3.x以及hibernate4.x也可以借鉴。 首先是配置文件 we...原创 2015-03-04 16:26:03 · 92 阅读 · 0 评论