How can you mark a field as persisted but not serialized?

前端 未结 0 669
借酒劲吻你
借酒劲吻你 2020-12-11 22:25

I have an entity that must implement Serializable. It has a field which should be excluded from serialization, which can be done with the transient keyword:

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