Sparrow

Results 21 issues of Sparrow

我再hibernate自定义了一个ID生成器,如何在替换这里的逻辑使CosId的雪花ID生成器生效? ``` public class YuIdGenerator implements IdentifierGenerator { static SnowFlake snowFlake; static { snowFlake = new SnowFlake(1, 1); } @Override public Serializable generate(SharedSessionContractImplementor sharedSessionContractImplementor, Object o) throws HibernateException { return...