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 弄了两天一直没有找到原因,请问是怎么回事?先谢谢了
...全文
88 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

473

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧