gpt4 book ai didi

hibernate - org.springframework.orm.hibernate3.HibernateSystemException : could not deserialize;

转载 作者:行者123 更新时间:2023-12-04 06:42:49 28 4
gpt4 key购买 nike

我收到以下错误

org.springframework.orm.hibernate3.HibernateSystemException:无法反序列化;嵌套异常是 org.hibernate.type.SerializationException:无法反序列化

我所有的类都实现了可序列化。
实际上我正在从数据库中获取一个列表并使用它的值来获取另一个结果。

最佳答案

得到解决方案:

在我的一个 POJO 中,有一个字段的 dataType 是 Serializabel(因为它是 DB 中的 nvarchar),因此将其更改为 byte[] 并解决了问题。

关于hibernate - org.springframework.orm.hibernate3.HibernateSystemException : could not deserialize;,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4039938/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com