Class HibernateConfiguration

java.lang.Object
org.tailormap.api.configuration.HibernateConfiguration

@Configuration public class HibernateConfiguration extends Object
Configuration class to customize Hibernate properties. This class registers a custom JSON format mapper for Hibernate to use the Jackson 3 library for JSON serialization and deserialization. By defining a bean of type HibernatePropertiesCustomizer, we can customize the Hibernate properties to specify our custom JSON format mapper, which allows Hibernate to handle JSON types in a way that is compatible with the application's JSON processing needs, especially since Hibernate 7.2.x does not natively support Jackson 3. See Jackson3JsonFormatMapper for the implementation of the custom JSON format mapper and:
  • Constructor Details

    • HibernateConfiguration

      public HibernateConfiguration()