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

DataChangeRecorderInnerInterceptor出现格式转换错误org.postgresql.util.PSQLException: conversion to class #6073

Open
Basil1991 opened this issue Apr 17, 2024 · 4 comments
Labels

Comments

@Basil1991
Copy link

当前使用版本(必填,否则不予处理)

3.5.6

使用Postgres

该问题是如何引起的?(确定最新版也有问题再提!!!)

DataChangeRecorderInnerInterceptor 类中将值会手动转为String类型
image

而在读取时会报错
image

报错信息

image
@nieqiurong nieqiurong added the bug label Apr 17, 2024
@MrXiaoMo
Copy link

我也遇到了相同的错误

@sirius19
Copy link
Contributor

有没有详细点的描述,什么样的更新语句等等

@bruce-pang
Copy link

bruce-pang commented May 1, 2024

Postgres版本是多少?

@q821863269
Copy link

我的解决方案:
1、将官方的DataChangeRecorderInnerInterceptor复制出来,创建MyDataChangeRecorderInnerInterceptor
2、修改如下两处代码
image
image
3、添加拦截器的时候,将DataChangeRecorderInnerInterceptor更换为自定义的MyDataChangeRecorderInnerInterceptor

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

No branches or pull requests

6 participants