摘要: 一.mybatis默认支持别名 别名 映射的类型 _byte byte _long long _short short _int int _integer int _double double _float float _boolean boolean string String byte Byte 阅读全文
posted @ 2017-05-07 22:04 贾继涛 阅读(366) 评论(0) 推荐(0)
摘要: 1.在mapper.xml中namespace等于mapper接口得地址 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybati 阅读全文
posted @ 2017-05-07 20:43 贾继涛 阅读(174) 评论(0) 推荐(0)
摘要: 1.mybatis 初步 sqlMapConfig.xml配置文件内容 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http: 阅读全文
posted @ 2017-04-24 22:23 贾继涛 阅读(571) 评论(0) 推荐(0)
摘要: 1.整合后的数据结构 jdbc.properties log4j.properties文件 application-dao.xml application-transaction.xml spring-servlet.xml web.xml code TuserController.java 阅读全文
posted @ 2017-04-19 22:17 贾继涛 阅读(154) 评论(0) 推荐(0)
摘要: 1. 前段控制器 新建项目在web.xml中配置前段控制器 <servlet> <servlet-name>springmvc</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servl 阅读全文
posted @ 2017-04-18 22:54 贾继涛 阅读(1654) 评论(0) 推荐(0)
摘要: 1.安装jdk 将Java安装程序下载到Linux系统的/usr/local/src目录下,然后修改其权限 [root@localhost src]# chmod 755 jdk-6u14-linux-i586.bin [root@localhost src]# ./jdk-6u14-linux-i 阅读全文
posted @ 2017-04-15 23:08 贾继涛 阅读(247) 评论(0) 推荐(0)
摘要: 方法一: create or replace type tab_split_list is table of varchar2(200); --创建变量 /************************************************************************ 阅读全文
posted @ 2017-04-15 21:07 贾继涛 阅读(6210) 评论(0) 推荐(0)