DTX-500 |
transaction [%s]:[%s] on db [%s] fulsh branchInfo to db failed. |
保存 undo log 至 dtx\_branch\_info 表失败 |
检查业务数据库是否正常。 |
DTX-501 |
transaction [%s]:[%s] on db [%s] report branchInfo to dtx-server failed. |
向事务云服务发送创建分支事务记录消息失败 |
检查分布式事务 SDK 与事务云服务网络连接是否正常、检查事务云服务是否正常。 |
DTX-502 |
transaction [%s]:[%s] on db [%s] commit error |
业务本地事务提交失败 |
检查业务数据库是否正常。 |
DTX-503 |
transaction [%s]:[%s] on db [%s] rollback error |
业务本地事务回滚失败 |
检查业务数据库是否正常。 |
DTX-504 |
sql parser result is empty, sql:[%s] |
SQL 语句解析结果为空 |
检查 SQL 语法是否为分布式事务支持。 |
DTX-505 |
‘INSERT INGORE’ and ‘INSERT ON DUPLICATE UPDATE’ statement must contain primaryKey colmun(s), sql:[%s] |
INSERT INGORE 和 INSERT ON DUPLICATE UPDATE 中不得使用自增主键句式 |
INSERT INGORE 和 INSERT ON DUPLICATE UPDATE 不支持使用自增主键,请在 SQL 语句的列与值中添加主键字段。 |
DTX-506 |
‘UPDATE’ and ‘DELETE’ statement must have where-statement, sql:[%s] |
update 和 delete 语句编写要 where 条件 |
修改 SQL 语句,添加 where 条件。 |
DTX-507 |
‘UPDATE’ statement can not update primaryKey colmun(s), sql:[%s] |
update 语句不得更新主键值 |
修改 SQL 语句。 |
DTX-508 |
nknown sqlType, sql:[%s] |
不支持的数据库类型 |
目前支持 Oceanbase、MySQL、Oracle,其他数据库暂不支持。 |
DTX-509 |
In READ_COMMITTED mode, complex query is not supported, you can use READ_UNCOMMITTED mode, sql:[%s] |
读已提交模式不支持复杂查询语句 |
修改 SQL 语句为简单查询语句,或者使用读未提交模式。 |
DTX-510 |
Insert-select statement is not supported, sql:[%s] |
Insert-select 语法不支持 |
修改 SQL 语句。 |
DTX-511 |
branchLogItems is empty, nothing to undo, dbId:[%s] |
业务库无 undo log,undo 操作返回 |
|
DTX-512 |
check dirty failed, branchLogItem:[%s]. |
脏写校验失败,数据回滚异常 |
人工介入订正数据。 |
DTX-513 |
insert branchInfo error, branchInfo:[%s] |
保存 undo log 至业务数据库出现异常 |
检查业务数据库是否正常。 |
DTX-514 |
lock table row failed, data may be locked by another transaction. db:[%s],tableName:[%s] ,primaryKey:[%s] |
添加行锁失败,数据行锁正在被其他事务占用 |
检查数据行锁占用事务未结束原因。 |
DTX-515 |
insert rowlock failed, txId = %s, had tried count: %d |
保存行锁数据至业务数据库失败 |
检查业务数据库是否正常、检查数据行锁是否被其他事务占用。 |
DTX-516 |
transaction:[%s] lock table row failed;row:[%s:%s] was locked by transaction:[%s]. |
行锁添加失败,行锁被其他事务占用 |
检查数据行锁占用事务未结束原因。 |
DTX-517 |
insert statement primary-key’s value must be simple value, sql:%s. |
insert 语句中的主键字段必须是简单数据类型:字符串或数字 |
修改主键数据类型。 |
DTX-518 |
Oracle insert statement primary-key’s value can not be Sequence.nextVal/Sequence.currVal, sql:%s. |
Oracle 数据库 insert 语句,主键不得使用 sequence |
修改 insert 语句语法。 |
DTX-519 |
Insert statement primary-key’s value can not be Expression, sql:%s. |
insert 语句主键值不得事表达式 |
修改 insert 语句语法。 |
DTX-520 |
Unsupport dbType:%s. |
不支持的数据库类型 |
目前支持 Oceanbase、MySQL、Oracle,其他数据库暂不支持。 |
DTX-521 |
unsupport sub query in where condition. |
不支持 where 条件中的子查询 |
修改 SQL 语句语法。 |
DTX-522 |
join select sql can not get one tableName. |
join 语句获取多个表名,会产生歧义,不支持 join 语句 |
修改 SQL 语句语法或者改成读未提交模式。 |
DTX-523 |
select from more than on tableName or sub select statement, can not get a tableName. |
join 语句获取多个表名,会产生歧义,不支持 join 语句 |
修改 SQL 语句语法,或者改成读未提交模式。 |
DTX-524 |
select from nest sub select statement, can not get a tableName. |
不支持嵌套查询 |
修改 SQL 语句语法,或者改成读未提交模式。 |
DTX-525 |
select sql has no tableName. |
查询语句无表名称 |
修改 SQL 语句语法。 |
DTX-526 |
unknown parameter, %s:%s. |
不支持的数据类型 |
修改 SQL 语句语法。 |
DTX-527 |
executeBatch error, statement:%s. |
executeBatch 执行出现异常 |
根据异常类型判断出错原因。 |
DTX-528 |
execute Statement, but sql is empty. |
SQL 语句为空 |
|
DTX-529 |
execute statement error, statement:%s. |
执行 SQL 语句出现异常 |
根据异常类型判断出错原因。 |
DTX-530 |
Statements is empty, no sql need execute. |
SQL 语句为空 |
|
DTX-531 |
there is not sql to executed. |
SQL 语句为空 |
|
DTX-532 |
while getAutoCommit() is true can not invoke executeBatch. |
executeBatch 方法必须在数据库事务内执行 |
请先开启数据库事务。 |
DTX-533 |
AddBatch count is not equal to parameters row count. |
addBatch 参数个数不匹配 |
检查业务代码,确保正确使用了 addBatch 。 |
DTX-534 |
All parameters of batch prepareStatement must have addBatch() follow. |
executeBatch 的参数设置之后必须调用 addBatch 方法 |
检查业务代码,确保正确使用了 addBatch 。 |
DTX-535 |
Invoking executeBatch() method need all sql statements are addBatch(), but sql[%s] is not. |
executeBatch 用法不正确 |
检查业务代码,确保正确使用了 addBatch 。 |
DTX-536 |
Invoking executeBatch() method need all sql statements are addBatch(sql),but sql[%s] is not. |
executeBatch 用法不正确 |
检查业务代码,确保正确使用了 addBatch 。 |
DTX-537 |
Invoking executeQuery/executeUpdate/execute method need all sql statements are non-addBatch sql, but sql[%s] is addBatch. |
addBatch 的 SQL 调用了 executeQuery/executeUpdate/execute 方法执行 |
检查业务代码,确保正确使用了 JDBC。 |
DTX-538 |
PreparedStatement with addBatch sql cann’t use limit-statement, sql:[%s]. |
PreparedStatement 的 addBatch 用法,SQL 语句中不支持带 limit 分页句式 |
修改业务代码及 SQL 语句。 |
DTX-539 |
parameter count ambiguous, where-statement expect the count more than %d , but parameter count is %d. |
PreparedStatement 的 SQL 语句的参数个数与实际参数个数不匹配 |
检查代码,确保参数个数与 SQL 语句中参数个数相等。 |
DTX-540 |
parameter index ambiguous, where-statement expect the index is %d, but parameter count is %d. |
PreparedStatement 的 SQL 语句的参数个数与实际参数个数不匹配 |
检查代码,确保参数个数与 SQL 语句中参数个数相等。 |
DTX-541 |
parameter data ambiguous, where-statement expect the parameter row count is %d, but actual is %s. |
PreparedStatement 的批量 SQL 语句的参数行数与实际参数行数不匹配 |
检查代码,确保参数个数与 SQL 语句中参数个数相等。 |
DTX-542 |
query log error, querySql:[%s],prameters:[%s],isPrepare:%s.” |
查询 undo log 出现异常 |
检验业务数据库是否可用。 |
DTX-543 |
check dirty data error,tableName:[%s],oldRows:[%s],newRows:[%s]. |
脏写校验失败,业务数据出现脏写 |
人工介入订正数据。 |
DTX-544 |
auto-generate primary-key must be only one column,sql: [%s]. |
自增主键不能是复合主键 |
修改主键为单列主键。 |
DTX-545 |
addBatch() must include primary-key(s) in sql, auto-generate primary-key don’t support,sql: [%s]. |
addBatch 的 SQL 语句中必须包含主键,不支持自增主键 |
修改 SQL 语句。 |
DTX-546 |
insert without primary-key(s), do not support batch insert ,sql: %s. |
批量插入时,SQL 语句中必须有主键 |
修改 SQL 语句,添加主键列至 SQL 语句中 。 |
DTX-547 |
preparedstatement addBatch, insert sql’s values must be single,the sql:[%s]. |
preparedstatement 的 addBatch 用法时,insert 语句不支持批量 |
修改 SQL 语句。 |
DTX-548 |
parameter index ambiguous, where-statement expect the index is %d, but parameter count is %d. |
SQL 语句需要的参数个数与实际的参数个数不匹配 |
检查业务代码和 SQL 语句的参数是否匹配。 |
DTX-550 |
parameter data ambiguous, where-statement expect the parameter row count is %d, but actual is %s. |
SQL 语句需要的参数个数与实际的参数个数不匹配 |
检查业务代码和 SQL 语句的参数是否匹配。 |
DTX-551 |
parameter index ambiguous, where-statement expect the index is %d, but parameter count is %d. |
SQL 语句需要的参数个数与实际的参数个数不匹配 |
检查业务代码和 SQL 语句的参数是否匹配。 |
DTX-552 |
parameter data ambiguous, where-statement expect the parameter row count is %d, but actual is %s. |
SQL 语句需要的参数个数与实际的参数行数不匹配 |
检查业务代码和 SQL 语句的参数是否匹配 。 |
DTX-553 |
the type of primary key must be ‘String’ or ‘Number’. |
主键字段的类型必须是字符串或者数字 |
修改主键、或者修改主键数据类型。 |
DTX-554 |
can not get the primarykey of insert statement:[%s],parameters:[%s]. |
自增主键的 insert 语句,无法获取 insert 数据之后的主键值 |
修改 insert 语句添加主键。 |
DTX-556 |
the columns count of sql’s values is not equal to the columns count of the table, table’s column count:[%d],clomuns values:[%d] |
SQL 语句中的字段列与业务表的字段列个数不匹配 |
检查 SQL 语句是否正确;如果数据库表结构变更过,请重启机器刷新分布式事务缓存 。 |
DTX-557 |
check undo datas result is true, undo do nothing, branchLogItem:[%s]. |
undo log 数据为空,undo 操作返回 |
|
DTX-558 |
unknown sqlType, sqlType: %s, branchLogItem:[%s]. |
不支持的 SQL 语句类型 |
参考分布式事务开发指南,修改 SQL 语句为分布式事务支持的 SQL 类型。 |
DTX-559 |
check dirty datas failed, the data is dirty, tableName:[%s],postRows:[%s],dbRows:[%s],branchLogItem:[%s]. |
数据脏写校验失败,业务数据出现脏写 |
人工介入订正数据。 |
DTX-560 |
insert branch info into oracle db failed, txId:%s, actionId: %s. |
向 Oracle 数据库保存 undo log 出现异常 |
检查业务数据库是否正常运行。 |
DTX-561 |
connection must setAutoCommit(false), conn: %s, rowLocks: %s. |
保存行锁记录时,未开启数据库事务。 |
|
DTX-562 |
preparedStatement only support single sql,but sql[%s] has more one sql. |
preparedStatement 中不支持多个 SQL 语句 |
修改 SQL 语句语法。 |
DTX-563 |
transaction [%s] on db [%s] executeQuery(%s) error. |
executeQuery 方法执行出现未知异常 |
根据抛出的异常类型找出异常原因。 |
DTX-564 |
transaction [%s] on db [%s] executeUpdate([%s]) error. |
executeUpdate 方法执行出现未知异常 |
根据抛出的异常类型找出异常原因。 |
DTX-565 |
transaction [%s] on db [%s] executeUpdate([%s], int) error. |
executeUpdat 方法执行出现未知异常 |
根据抛出的异常类型找出异常原因。 |
DTX-566 |
transaction [%s] on db [%s] executeUpdate([%s], int[]) error. |
executeUpdate 方法执行出现未知异常 |
根据抛出的异常类型找出异常原因。 |
DTX-567 |
transaction [%s] on db [%s] executeUpdate([%s], String[]) error. |
executeUpdate 方法执行出现未知异常 |
根据抛出的异常类型找出异常原因。 |
DTX-568 |
transaction [%s] on db [%s] execute([%s]) error. |
execute 方法执行出现未知异常 |
根据抛出的异常类型找出异常原因。 |
DTX-569 |
transaction [%s] on db [%s] execute([%s], int) error. |
execute 方法执行出现未知异常 |
根据抛出的异常类型找出异常原因。 |
DTX-570 |
transaction [%s] on db [%s] execute([%s], int[]) error. |
execute 方法执行出现未知异常 |
根据抛出的异常类型找出异常原因。 |
DTX-571 |
transaction [%s] on db [%s] execute([%s],String[]) error. |
execute 方法执行出现未知异常 |
根据抛出的异常类型找出异常原因。 |
DTX-572 |
addBatch(String) is not allowed while getAutoCommit() is true. |
addBatch(String) 方法必须在开启数据库事务之后使用 |
在使用 addBatch(String) 方法前先开启数据库事务。 |
DTX-573 |
executeBatch() is not allowed while getAutoCommit() is true. |
executeBatch 方法必须在开启数据库事务之后使用 |
在使用 executeBatch 方法前先开启数据库事务。 |
DTX-574 |
don’t support closeOnCompletion() ; need explicit invoke close() method to close the statement. |
closeOnCompletion 方法不支持 |
手动调用 close 方法关闭 Statement。 |
DTX-576 |
WrappedDtxDataSource.getUniqueDbId() is empty. |
WrappedDtxDataSource 的 uniqueDbId 属性不得为空 |
设置 WrappedDtxDataSource 的 uniqueDbId 属性,需要保证全局唯一。 |
DTX-577 |
WrappedDtxDataSource.targetDataSource is null. |
WrappedDtxDataSource 的 targetDataSource 属性不得为空 |
设置 `WrappedDtxDataSource 的 targetDataSource 属性。 |
DTX-578 |
WrappedDtxDataSource.targetDataSource can not be type of IDtxDataSource. |
WrappedDtxDataSource 的 targetDataSource 属性所指的 DataSource 对象不能是 IDtxDataSource 类型 |
修改 WrappedDtxDataSource 的 targetDataSource 属性为非 IDtxDataSource 类型。 |
DTX-579 |
DruidDtxDataSource.jdbcUrl is empty. |
DruidDtxDataSource 的 dbType 属性不得为空 |
设置 DruidDtxDataSource 的 dbType 属性。 |
DTX-580 |
DruidDtxDataSource.userName is empty. |
DruidDtxDataSource 的 userName 属性不得为空 |
设置 DruidDtxDataSource 的 userName 属性。 |
DTX-581 |
DruidDtxDataSource.password is empty. |
DruidDtxDataSource 的 password 属性不得为空 |
设置 DruidDtxDataSource 的 password 属性。 |
在文档使用中是否遇到以下问题
更多建议
匿名提交