我是一条淡水鱼 2023-05-31 09:52 采纳率: 0%
浏览 86

人大金仓 cache lookup failed for type

现象:
使用人大金仓数据库,查询遇到的问题
09:16:06.686 [http-nio-23456-exec-5] DEBUG c.c.h.c.L.selectUserByUsername - ==> Preparing: select loginName as username, password, id from c_user where loginName=?
09:16:06.687 [http-nio-23456-exec-5] DEBUG c.c.h.c.L.selectUserByUsername - ==> Parameters: beijing(String)
09:16:06.693 [http-nio-23456-exec-5] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [/hfjs] threw exception
org.springframework.jdbc.UncategorizedSQLException:

Error querying database. Cause: com.kingbase8.util.KSQLException: ERROR: cache lookup failed for type 536871955

The error may exist in com/cait/hfjs/config/LoginUserDao.java (best guess)

The error may involve com.cait.hfjs.config.LoginUserDao.selectUserByUsername-Inline

The error occurred while setting parameters

SQL: select loginName as username, password, id from c_user where loginName=?

Cause: com.kingbase8.util.KSQLException: ERROR: cache lookup failed for type 536871955

; uncategorized SQLException; SQL state [XX000]; error code [0]; ERROR: cache lookup failed for type 536871955; nested exception is com.kingbase8.util.KSQLException: ERROR: cache lookup failed for type 536871955
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
at com.sun.proxy.$Proxy83.selectOne(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:160)
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:87)
at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:152)

  • 写回答

1条回答 默认 最新

  • AllenGd 大数据领域优质创作者 2023-05-31 14:01
    关注

    清除一下缓存或者重启数据库试试

    评论

报告相同问题?

问题事件

  • 创建了问题 5月31日

悬赏问题

  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 正弦信号发生器串并联电路电阻无法保持同步怎么办
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 个人网站被恶意大量访问,怎么办
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)