robert_hly

踩坑填坑记录...

导航

2017年3月5日 #

mybatis 配置文件 配置别名

摘要: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd 阅读全文

posted @ 2017-03-05 23:18 robert_hly 阅读(235) 评论(0) 推荐(0)

spring 配置 applicationContext.xml

摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/ 阅读全文

posted @ 2017-03-05 23:15 robert_hly 阅读(117) 评论(0) 推荐(0)

mybatis mapper配置文件 CustomerMapper.xml

摘要: Dao @Repositorypublic interface CustomerDAO { public void create(CustomerModel cm); public void update(CustomerModel cm); public void delete(CustomerM 阅读全文

posted @ 2017-03-05 23:13 robert_hly 阅读(449) 评论(0) 推荐(0)

基本环境搭建(下面配置的是老版本的,可以根据需配置新版本)

摘要: 开发环境eclipse数据库mysql基本技术 Maven+Spring mvc+spring+mybatis前端 jQuery+html+css缓存 ehcache mybatis的查询结果X-gen 代码生成公共的东西放在parent里面指定仓库父工程配置pom相关jar包 公共的子模块无需再配 阅读全文

posted @ 2017-03-05 19:56 robert_hly 阅读(137) 评论(0) 推荐(0)

多War包合并,jetty测试

摘要: 模块间的相互依赖引用配置在pom.xml中加入要依赖的模块即可<dependency> <groupId>com.exayong</groupId> <artifactId>common</artifactId> <version>0.0.1-SNAPSHOT</version></dependen 阅读全文

posted @ 2017-03-05 14:10 robert_hly 阅读(221) 评论(0) 推荐(0)

分工分模块 合并

摘要: 新建maven父工程architecture1 -- quickstart pom.xml 中的packaging jar 改为pom 父工程新建父工程的webapp 类型maven module 父工程选择开始创建 的父工程com.exayong.architecture1.architectur 阅读全文

posted @ 2017-03-05 09:40 robert_hly 阅读(109) 评论(0) 推荐(0)