随笔分类 - mybatis
摘要:spring-mybatis-data-common-2.0新增分表机制,在1.0基础上做了部分调整.基于机架展示分库应用数据库分表实力创建create table tb_example_1( id bigint primary key auto_increment , eId bigint, ...
阅读全文
摘要:spring-mybatis-data-common做了哪些操作1.日志依据层级归类输出,支持扩展2.spring-mybatis持久层基础接口集成,支持扩展3.常用业务接口定义,支持扩展.只是一个简单的常用操作的集合(CRUD+Pager),方便spring与mybatis项目的整合开发.关于sp...
阅读全文
摘要:Spring+mybatis整合实例应用项目结构图(Spring3.0.2+mybatis3.0.4)方案一:通过配置文件整合Spring和mybatis应用数据库----数据库 tb_user--drop table if exists tb_user;create table tb_user( id int primary key auto_increment comment '主键', username varchar(40) not null unique comment '用户名', password varchar(40) not null comm
阅读全文
摘要:MyBatis下载地址:http://code.google.com/p/mybatis/搭建第一个mybatis应用创建系统所需数据库----数据库 tb_user--drop table if exists tb_user;create table tb_user( id int primary key auto_increment comment '主键', username varchar(40) not null unique comment '用户名', password varchar(40) not null comment '密码
阅读全文
浙公网安备 33010602011771号