Using Custom Converter In Hibernate

Using Custom Converter In Hibernate

Overview Imagine this scenario, you have a legacy database that store weather data. The previous developer, due to various reason, store the temperature in the following format: id location temperature capture_date 1 Hanoi 30.50 C 2023-07-31 22:10:30.000 2 New York 95.20 F 2023-07-31 22:10:30.000 As you can see, the temperature stored in a sub-optimal way … Read more