Class JacksonHibernateSupportAutoConfiguration


  • @Configuration
    @AutoConfigureAfter(org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration.class)
    public class JacksonHibernateSupportAutoConfiguration
    extends Object
    Enable Hibernate5Module for support specific datatypes and properties; especially lazy-loading aspects avoiding infinite loops.

    This module will be pickup automatically by the Jacksons ObjectMappers.

    If it's need it, this module definition can be override by the application.

    Author:
    Thiago A. de Souza Weber
    See Also:
    Hibernate5Module
    • Constructor Detail

      • JacksonHibernateSupportAutoConfiguration

        public JacksonHibernateSupportAutoConfiguration()
    • Method Detail

      • hibernate5Module

        @Bean
        @ConditionalOnMissingBean
        public com.fasterxml.jackson.datatype.hibernate5.Hibernate5Module hibernate5Module()