Redis里面配置了序列化!!!就一定要在jpa的实体加上@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"}),否则hibernate会帮你进行序列化,就会报错!!!!
springboot1.5整合redis+jpa 踩得坑
最新推荐文章于 2022-08-10 17:07:51 发布
Redis里面配置了序列化!!!就一定要在jpa的实体加上@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"}),否则hibernate会帮你进行序列化,就会报错!!!!