mybatis的ResultMaps

(官网文档:http://mybatis.github.io/mybatis-3/zh/sqlmap-xml.html#Result_Maps)

阅读更多

mybatis-spring的使用

使用mybatis-spring:http://mybatis.github.io/spring/zh/

maven中添加依赖:

阅读更多

Mybatis的parameters

传值:

原生类型或简单数据类型(比如整型或字符串)

阅读更多

Mybatis自动生成主键

数据库支持自动生成主键

阅读更多

spring_PropertyPlaceholderConfigurer常量文件

单个文件:

阅读更多

Mybatis的使用

mybatis文档:http://mybatis.github.io/mybatis-3/zh/index.html

Maven依赖:

<dependency>
  <groupId>org.mybatis</groupId>
  <artifactId>mybatis</artifactId>
  <version>x.x.x</version>
</dependency>

阅读更多

spring常用jar包依赖关系

spring常用jar包功能简述:

  1. spring.jar 是包含有完整发布模块的单个jar 包。这个在”3.03之后不再提供!想要该包的同学,把dist目录下的jar全部解压开,在打包成spring.jar即可。

阅读更多

log4j与slf4j的使用

在maven中添加依赖

阅读更多

maven问题

  • 使用私服时,所使用仓库组添加错

阅读更多

nexus私服使用

下载

http://www.sonatype.org/

阅读更多