Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

### Cause: org.postgresql.util.PSQLException: ERROR: cache lookup failed for type 0 ; uncategorized SQLException; SQL state [XX000]; error code [0]; ERROR: cache lookup failed for type 0 #516

Open
kimguo1993 opened this issue Jul 10, 2024 · 1 comment
Labels
question Further information is requested

Comments

@kimguo1993
Copy link

Cause: org.postgresql.util.PSQLException: ERROR: cache lookup failed for type 0

; uncategorized SQLException; SQL state [XX000]; error code [0]; ERROR: cache lookup failed for type 0
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:93)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
at jdk.proxy2/jdk.proxy2.$Proxy113.selectList(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:164)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152)
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
at jdk.proxy2/jdk.proxy2.$Proxy116.countByDevNum(Unknown Source)
how to fix it?

@kimguo1993 kimguo1993 added the question Further information is requested label Jul 10, 2024
@polardb-bot
Copy link

polardb-bot bot commented Jul 10, 2024

Hi @kimguo1993 ~ Thanks for opening this issue! 🎉

Please make sure you have provided enough information for subsequent discussion.

We will get back to you as soon as possible. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant