chunjun
chunjun copied to clipboard
beta1.14.4 sqlserver sink 指定user pwd 两列,报自增列错误
General Question
{ "fields": [ { "javaObject": "xxx", "binarySection": { "segments": [ { "heapMemory": [ 49, 50, 48, 55, 48, 54, 57, 53 ], "address": 16, "addressLimit": 24, "size": 8, "allowWrap": true, "isFreedAtomic": false } ], "offset": 0, "sizeInBytes": 8 } }, { "javaObject": "cesicdc8", "binarySection": { "segments": [ { "heapMemory": [ 99, 101, 115, 105, 99, 100, 99, 56 ], "address": 16, "addressLimit": 24, "size": 8, "allowWrap": true, "isFreedAtomic": false } ], "offset": 0, "sizeInBytes": 8 } } ], "kind": "UPDATE_AFTER" } 这个是指定的两列,另外还有一个自增列ID,没有在sqlclient 体现 然后提交任务后 java.sql.BatchUpdateException: 当 IDENTITY_INSERT 设置为 ON 或某个复制用户向 NOT FOR REPLICATION 标识列中插入内容时,必须为表 'XXX' 中的标识列指定显式值。