Is it possible to define how an enum is (de-)serialized for persistence inside the enum?

前端 未结 0 1337
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-14 22:54

I have a Spring Boot project using JPA and hibernate.

Let\'s say there is an enum Code that represents a simple http status code:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题