tddl使用异常,报"Cause: java.sql.SQLException: the defaultDispatcher have no dbIndexMap and defaultDbIndex"错误
@齐百超 你好,我想请教个问题,我现在用的tddl是3.3.3.1版本,向数据库插入数据的时候会出现如下错误提示:
org.springframework.jdbc.UncategorizedSQLException:
### Error updating database. Cause: java.sql.SQLException: the defaultDispatcher have no dbIndexMap and defaultDbIndex
### The error may involve com.phoenix.ticket.mapper.OrderOriginalMapper.insert-Inline
### The error occurred while setting parameters
### SQL: insert into order_original (orderCode, lotCode, issueNo,userId, userName, betMulti, betNumber, unitPrice, totalPrice,betTime, updateTime, betSource, orderType, spiltNum, buyNum,orderStatus, revokeFlag, winStatus, pretaxBonus, aftertaxBonus, sendFlag,clearFlag, ticketTime, gameSessions, firstEndTime, playType, parentId,supId, betContent) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
### Cause: java.sql.SQLException: the defaultDispatcher have no dbIndexMap and defaultDbIndex
; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; the defaultDispatcher have no dbIndexMap and defaultDbIndex; nested exception is java.sql.SQLException: the defaultDispatcher have no dbIndexMap and defaultDbIndex
弄了两天一直没有找到原因,请问是怎么回事?先谢谢了