在Eclipse的建立单元测试是,类文件右键->new->java->Junit->Junit Test Case
2018-12-04
create table success_killed(
seckill_id int not null comment '秒杀商品id',
user_phone int not null comment '用户手机号',
state tinyint not null default -1 comment '状态标示:-1:无效‘
create_time timestamp not null comment '创建时间',
primary key(seckill_id,user_phone),
key idx_create_time(create_time)
)
seckill_id int not null comment '秒杀商品id',
user_phone int not null comment '用户手机号',
state tinyint not null default -1 comment '状态标示:-1:无效‘
create_time timestamp not null comment '创建时间',
primary key(seckill_id,user_phone),
key idx_create_time(create_time)
)
2018-12-01
c3p0配置文档: https://www.mchange.com/projects/c3p0/#configuration_properties
2018-11-20
出现java.lang.AbstractMethodError: Method com/mchange/v2/c3p0/impl/NewProxyPreparedStatement.isClosed()Z is abstract报错
解决方案:因为c3p0版本过低,我是0.9.1.2,换成0.9.5.2即可
解决方案:因为c3p0版本过低,我是0.9.1.2,换成0.9.5.2即可
2018-11-19