package com.example.jpashop;

import com.fasterxml.jackson.datatype.hibernate5.Hibernate5Module;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class JpashopApplication {

    public static void main(String[] args) {
        SpringApplication.run(JpashopApplication.class, args);
    }
    @Bean
    Hibernate5Module hibernate5Module() {
        return new Hibernate5Module();
////                .configure(Hibernate5Module.Feature.FORCE_LAZY_LOADING, true);
    }
}
