Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
Create JpaConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
WinningBean committed Apr 13, 2020
1 parent ae317fe commit b6decdf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

@EnableJpaAuditing // JPA Auditing 활성화
@SpringBootApplication
public class RecordaryApplication {

Expand Down
8 changes: 8 additions & 0 deletions src/main/java/com/fairy_pitt/recordary/config/JpaConfig.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.fairy_pitt.recordary.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

@Configuration
@EnableJpaAuditing // JPA Auditing 활성화
public class JpaConfig {}

0 comments on commit b6decdf

Please sign in to comment.