06 2017 档案
摘要:1、Caused by: java.lang.ClassNotFoundException: org.springframework.jdbc.datasource.DataSourceTransactionManager 原因是缺少org.springframework.jdbc-3.1.0.ja
阅读全文
摘要:一、建立数据库表,使用generator自动生成相关代码; generator工具下载:http://download.csdn.net/detail/s0009527/9883125 二、创建maven工程,并将生成的代码copy入工程中; 三、先整合Spring+Mybatis,在pom文件中引
阅读全文
摘要:可参考:http://www.cnblogs.com/liuling/archive/2013/05/05/intAndInteger.html 从Java 5开始引入了自动装箱/拆箱机制,使得二者可以相互转换 Integer和int比都会自动拆箱(jdk1.5以上)。拆箱 >从Integer转为i
阅读全文