MyBatis3+spring3+struts2.3.15实例

MySql:
drop database if exists maven;
create database maven;
drop table if exists USER;

/*==============================================================*/
/* Table: USER                                                  */
/*==============================================================*/
create table USER
(
   ID                   int not null auto_increment,
   USERNAME             varchar(30),
   account              varchar(16),
   pwd                  varchar(16),
   primary key (ID)
);

alter table USER comment 'USER';
insert into user(username,account,pwd) values('杨龙','yanglong','yanglong'),('周星佑','zhouxingyou','zhouxingyou'),('余昌兴','yuchangxing','yuchangxing');
源码:http://download.csdn.net/detail/gxl442172663/6723177

猜你喜欢

转载自dr-yanglong.iteye.com/blog/1989484