/** * primary key: assigned */@Id@Column(nullable = false, updatable = false)public Long id;/** * event id that create this order. ASC only */@Column(nullable = false, updatable = false)public long sequenceId;
这提交的format code回变成一个string
缓存的时候OrderEntity.id作为key省了一次auto boxing
Sign in to make a reply
何霖