Cannot serialize LocalDate in Mongodb

前端 未结 3 466
闹比i
闹比i 2021-01-13 07:38

I am using the java 8 java.time.LocalDate to parse around dates.

But trying to insert a LocalDate object to mongodb. I get errors in the java driver:



        
3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-13 07:51

    As Oliver Gierke mentions here

    This datatype is not supported yet. I hope this will be available soon.

提交回复
热议问题