Skip to content

Commit

Permalink
[#286] refactor(JpaAuditingConfig): JpaAuditingConfig 롤백
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonyworld committed Dec 6, 2024
1 parent 11a3351 commit 5fe4d69
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/main/java/com/beat/global/common/config/JpaAuditingConfig.java
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
package com.beat.global.common.config;

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

import com.querydsl.jpa.impl.JPAQueryFactory;

import jakarta.persistence.EntityManager;
import jakarta.persistence.PersistenceContext;

@Configuration
@EnableJpaAuditing
public class JpaAuditingConfig {

@PersistenceContext
private EntityManager em;

@Bean
public JPAQueryFactory jpaQueryFactory() {
return new JPAQueryFactory(em);
}
}

0 comments on commit 5fe4d69

Please sign in to comment.