Star
0
Fork
0
Code
Introduction
Code
Issues
Pull Requests
Pipeline
Actions
Discussion
Wiki
Members
1
Analysis
Settings
Star
0
Fork
0
master
tinyid
/
tinyid-server
Download directory
G
GitHub
Update db.sql
7a301a49
Add on
Jun 11, 2020
History
Files
Last commit
Last update
src
修复bug: 事务的隔离级别不对,从DEFAULT(mysql的REPEATABLE_READ)改成READ_COMMITTED
6 years ago
.gitignore
tinyid
8 years ago
build.sh
fix build.sh and db.sql
7 years ago
db.sql
Update db.sql
id
bigint(20) unsigned id字段为无符号时,在Javabean对应的应该是 BigInteger. 对应是Long时,会有越界问题。9223372036854775808在bigint(20) unsigned可以保存,但赋值给Long会越界。 建议使用ORM框架Bee的GenBean自动生成Javabean. 鉴于tiny_id_info表不会有太多的记录,用无符号就可以了。
6 years ago
pom.xml
pom and contoller fix
7 years ago