# test_mybatis **Repository Path**: limq8/test_mybatis ## Basic Information - **Project Name**: test_mybatis - **Description**: No description available - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-10-18 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README SpringMvc+Spring+Mybatis+Maven整合 ======================== 使用技术 ------------------------ * 核心框架:Spring Framework * 视图框架:Spring MVC * 持久层框架:Mybatis * Mybatis generator * 数据库连接池:Alibaba Druid * 日志管理:SLF4J、Log4j * 工具类:fastjson,Junit4 技术特点 ------------------------ 分层设计:使用分层设计,分为dao,service,Controller,层次清楚,低耦合,高内聚。 简单使用说明 ------------------------ * 导入sql 文件到 mysql,oracle,... 数据库 * 修改配置文件 config.properties 中的账号密码 ``` hibernate.dialect=org.hibernate.dialect.MySQLDialect driverClassName=com.mysql.jdbc.Driver validationQuery=SELECT 1 jdbc_url=jdbc:mysql://localhost:3306/sshe?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull jdbc_username=root jdbc_password=root ``` * 修改并运行测试