- 博客(5)
- 收藏
- 关注
原创 Mybatis中resultMap和result结果集的关系
resultMap里的type指定了返回结果集对应的实体类,实体类的里变量的数量和resultMap里result的配置数量可以不一致。现在还不知道为什么,反正是不报错,可以正常运行。 参考:http://zhuyuehua.iteye.com/blog/1721715
2017-03-29 23:30:21 3070
转载 Cannot find the declaration of element 'beans'
http://llyzq.iteye.com/blog/1117288 spring配置文件原来是这样写的: Xml代码 beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2017-03-20 10:03:10 547
转载 关于XML文档的xmlns、xmlns:xsi和xsi:schemaLocation
转自:http://www.cnblogs.com/zhao1949/p/5652167.html 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 xml
2017-03-20 09:19:09 387
原创 Maven新导入项目时出现错误Failure to transfer commons-lang:commons-lang:jar:2.1 from https://repo.maven.apache.
导入新项目时出现类似的错误: 1. Failure to transfer commons-lang:commons-lang:jar:2.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the upda
2017-03-17 21:27:57 16905 1
原创 Java包装类的缓存Integer
Integer 类型的对象,注意是自动装箱生成对象的时候,会有缓存功能。因为只有自动装箱的时候会用到valueOf方法,这个方法中提供了缓存设计。-127-128. 结果: true true false valueOf中,如果i值为-128到127之间的话,会返回IntegerCache中早已经生成好的Integer对象(从缓存数组中
2017-03-11 11:17:51 345
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人