auditorProvider() { return new AuditorAwareImple(); } }"> auditorProvider() { return new AuditorAwareImple(); } }"> auditorProvider() { return new AuditorAwareImple(); } }">
@Configuration
@EnableJpaAuditing(auditorAwareRef = "auditorProvider")
public class JPAConfig {

  // 작성자 정보를 제공하는 구현체
  @Bean
  AuditorAware<String> auditorProvider() { return new AuditorAwareImple(); }
}
public class AuditorAwareImple implements AuditorAware<String> {
  @Override
  public Optional<String> getCurrentAuditor() {
    return Optional.empty();
  }
}