Subscribe Now

* You will receive the latest news and updates on your favorite celebrities!

Trending News

25 Jul 2021
big_decimal, converter, mongodb, spring, spring_boot, spring_data

Custom converter for Mongodb and Spring Data for BigDecimal type 

This post was originally published on this siteRecently I found that MongoDB does not support java’s java.math.BigDecimal as you can read in the official spring data mongodb documentation As it turns out java.math.BigDecimal will be converted to java.lang.String when saved to the database and parsed…