![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
database
huangdachao
这个作者很懒,什么都没留下…
展开
-
美团分布式ID生成服务——支持号段模式与雪花主键两种模式
Leaf是美团基础研发平台推出的一个分布式ID生成服务,名字取自德国哲学家、数学家莱布尼茨的一句话:“There are no two identical leaves in the world.”Leaf具备高可靠、低延迟、全局唯一等特点。Leaf项目已经在Github上开源:https://github.com/Meituan-Dianping/Leaf。 Leaf特性 Leaf在设计之初就秉...转载 2019-03-26 22:55:16 · 1064 阅读 · 0 评论 -
Statement、 PreparedStatement 、CallableStatement 区别和联系
目录三者联系StatementPreparedStatementCallableStatementStatement的使用PreparedStatement的使用CallableStatement的使用批量查询 三者联系 Statement、PreparedStatement和CallableStatement都是接口(interface)。 Statement继承自Wrapper、Prepar...原创 2019-04-02 10:31:15 · 410 阅读 · 0 评论