# Mybatis_Interceptor **Repository Path**: dso/Mybatis_Interceptor ## Basic Information - **Project Name**: Mybatis_Interceptor - **Description**: 使用mybatis拦截器水平切分表 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-12-07 - **Last Updated**: 2022-12-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README SpringMVC+Spring+MyBatis ======================== Frameworks and Tools ----------------------------------- * Java&IDE: JDK7 Eclipse * Backend: SpringMVC3.2.9 Spring3.2.9 MyBatis3.1.1 (Configured by annotation) * Database: Oracle10g * Web Server: Tomcat 7 * Build Tool: Maven * Other: Druid(database connection pool) JUnit Log4j Jackson FastJson System Features ----------------------------------- * Integration of Spring core, Spring MVC, and MyBatis * Management of users through CRUD interface Code Generator for MyBatis ----------------------------------- * You can find code generator from [the link](http://mybatis.github.io/generator/) * In the folder of mybatis-generator, you can find generator.xml and mybatis-generator-core-1.3.2.jar. * Download these two files in the folder of C:\mybatis, and run the following command: java -jar mybatis-generator-core-1.3.2.jar -configfile generator.xml -overwrite * Then Java POJOs that match the table structure will be generated. Create Table CREATE TABLE `muser_0` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(36) DEFAULT NULL, `age` int(3) DEFAULT NULL, `address` varchar(36) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 CREATE TABLE `muser_1` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(36) DEFAULT NULL, `age` int(3) DEFAULT NULL, `address` varchar(36) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 CREATE TABLE `muser_2` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(36) DEFAULT NULL, `age` int(3) DEFAULT NULL, `address` varchar(36) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 CREATE TABLE `muser_3` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(36) DEFAULT NULL, `age` int(3) DEFAULT NULL, `address` varchar(36) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 CREATE TABLE `muser_4` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(36) DEFAULT NULL, `age` int(3) DEFAULT NULL, `address` varchar(36) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8