
Spring hibernate 整合
文章平均质量分 76
babybear315
这个作者很懒,什么都没留下…
展开
-
Spring MVC Url不区分大小写
According to this webpost you need to add both a HandlerMapping and a HandlerAdapter in Spring MVC. The Mapping maps the request to a corresponding controller, and the adapter is responsible to execu...原创 2014-08-15 14:51:57 · 733 阅读 · 0 评论 -
(转)Spring @Transactional 声明式事务管理 getCurrentSession
本文转自http://blog.youkuaiyun.com/irelandken/article/details/7193123 在Spring @Transactional声明式事务管理的配置中,hibernate.current_session_context_class=thread… 这一句是不能加的…加了就会出错..那为什么不能加呢? 那是因为在Spring事务管理中,current Se...原创 2014-04-08 09:47:44 · 106 阅读 · 0 评论 -
Ant-style path patterns
路径匹配原则(Path Matching) Spring MVC中的路径匹配要比标准的web.xml要灵活的多。默认的策略实现了 org.springframework.util.AntPathMatcher,就像名字提示的那样,路径模式是使用了Apache Ant的样式路径,Apache Ant样式的路径有三种通配符匹配方法(在下面的表格中列出)这些可以组合出很多种灵活的路径模式Tabl...原创 2014-10-11 16:25:17 · 647 阅读 · 0 评论