Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
It is possible to set custom JSON serializer for hibernate. Here is example: @Configuration public class JsonHibernatePropertiesCustomizerConfig { @Bean HibernatePropertiesCustomizer c...
Answer
#1: Initial revision
It is possible to set custom JSON serializer for hibernate. Here is example: ``` @Configuration public class JsonHibernatePropertiesCustomizerConfig { @Bean HibernatePropertiesCustomizer customizer(ObjectMapper objectMapper) { return map -> map.put(AvailableSettings.JSON_FORMAT_MAPPER, new JacksonJsonFormatMapper(objectMapper)); } } ```