会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Sharpest
感谢每一位互联网工作者。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
149
150
151
152
153
154
155
156
157
···
222
下一页
2017年10月24日
Xml中SelectSingleNode方法,xpath查找某节点用法
摘要: 转自:https://www.cnblogs.com/love201314/p/5589784.html 最常见的XML数据类型有:Element, Attribute,Comment, Text. Element, 指形如<Name>Tom<Name>的节点。它可以包括:Element, Text
阅读全文
posted @ 2017-10-24 00:39 Sharpest
阅读(3419)
评论(0)
推荐(0)
2017年10月23日
Spring整合JUnit4测试使用注解引入多个配置文件
摘要: 转自:https://kanpiaoxue.iteye.com/blog/2151903 我们使用spring写junit单测的时候,有的时候我们的spring配置文件只有一个。我们在类的注释上面会这样写: Java代码 @RunWith(SpringJUnit4ClassRunner.class)
阅读全文
posted @ 2017-10-23 23:49 Sharpest
阅读(342)
评论(0)
推荐(0)
spring aop中的propagation的7种配置的意思
摘要: 转自:https://nannan408.iteye.com/blog/1754882 1.前言。 在声明式的事务处理中,要配置一个切面,即一组方法,如 Java代码 <tx:advice id="txAdvice" transaction-manager="txManager"> <tx:attr
阅读全文
posted @ 2017-10-23 21:35 Sharpest
阅读(469)
评论(0)
推荐(0)
Transaction rolled back because it has been marked as rollback-only
摘要: 转自:https://blog.csdn.net/launch_225/article/details/7814346 原来是这样设置的: Xml代码 <tx:attributes> <tx:method name="*" read-only="true"/> </tx:attributes> 发现
阅读全文
posted @ 2017-10-23 21:32 Sharpest
阅读(766)
评论(0)
推荐(0)
最全三大框架整合(使用映射)——applicationContext.xml里面的配置
摘要: applicationContext.xml: 2. applicationContext-action.xml: 转自:https://blog.csdn.net/qq_34137397/article/details/72823031 3. applicationContext-dao.xml:
阅读全文
posted @ 2017-10-23 21:27 Sharpest
阅读(534)
评论(0)
推荐(0)
Hibernate自动创建表
摘要: 转自:https://www.cnblogs.com/waliy/p/4570301.html 只要在hibernate.cfg.xml添加这句话,就可以自动生成数据表 <property name="hibernate.hbm2ddl.auto">update</property> update:
阅读全文
posted @ 2017-10-23 18:14 Sharpest
阅读(2153)
评论(0)
推荐(0)
Hibernate 参数设置一览表
摘要: 转自“”:https://blog.csdn.net/baidu_18607183/article/details/5248671 1 实现包含了Hibernate与数据库的基本连接信息的配置方式有两种方式: 第一种是使用hibernate.properties文件作为配置文件。 第二种是使用hib
阅读全文
posted @ 2017-10-23 18:11 Sharpest
阅读(400)
评论(0)
推荐(0)
hibernate映射数据库时@ManyToOne和@OneToMany
摘要: 转自:https://www.cnblogs.com/LJWDL/archive/2013/11/15/3426226.html 第一次用hibernate自动生成表,涉及到多个表的外键,用到了@OneToMany和@ManyToOne注解碰到了几个错误。 首先声明一个基础,@OneToMany和@
阅读全文
posted @ 2017-10-23 17:56 Sharpest
阅读(270)
评论(0)
推荐(0)
struts的工作流程
摘要: - 一个请求过来,走前端控制器StrutsPrepareAndExecuteFilter -前端控制器是一个过滤器,过滤器中的核心方法是doFilter(),doFilter方法中首先处理了字符集,然后将request和response方法 放到ThreadLocal中 ,表示线程安全 -接下来,判
阅读全文
posted @ 2017-10-23 17:02 Sharpest
阅读(580)
评论(0)
推荐(0)
2017年10月22日
Spring MVC文件上传
摘要: 转自:http://www.cnblogs.com/fangqi/archive/2012/10/28/2743100.html Spring MVC为文件上传提供了直接的支持,这种支持是通过即插即用的MultipartResolver实现的。Spring使用Jakarta Commons File
阅读全文
posted @ 2017-10-22 21:37 Sharpest
阅读(210)
评论(0)
推荐(0)
上一页
1
···
149
150
151
152
153
154
155
156
157
···
222
下一页