tddl使用异常,报"Cause: java.sql.SQLException: the defaultDispatcher have no dbIndexMap and defaultDbIndex"错误

weixin_38067275 2016-07-29 11:20:39
@齐百超 你好,我想请教个问题,我现在用的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 弄了两天一直没有找到原因,请问是怎么回事?先谢谢了
...全文
20 点赞 收藏 1
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
相关推荐
发帖
其他技术讨论专区
创建于2021-05-12

122

社区成员

其他技术讨论专区
申请成为版主
帖子事件
创建了帖子
2016-07-29 11:20
社区公告
暂无公告