You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/06/12 11:44:04 UTC

[GitHub] [servicecomb-pack] WillemJiang commented on issue #479: 向TxEvent表中插入时,为什么将surrogateId初始化为-1?

WillemJiang commented on issue #479: 向TxEvent表中插入时,为什么将surrogateId初始化为-1?
URL: https://github.com/apache/servicecomb-pack/issues/479#issuecomment-501237076
 
 
   不知道你提到的是不是这个 https://github.com/apache/servicecomb-pack/blob/a54af97a65c52800b6ae684aac29b65eea600209/alpha/alpha-server/src/main/java/org/apache/servicecomb/pack/alpha/server/SpringTxEventRepository.java#L43。  
   surrogateid应该是系统分配的, EntityManager merge这块我不太清楚,能详细解释一下吗?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services