update: review jpa 스캔 방법 변경
This commit is contained in:
parent
f3534ca371
commit
6c3b5b4235
@ -1,5 +1,6 @@
|
||||
package com.ktds.hi.review.infra.config;
|
||||
|
||||
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||
|
||||
@ -8,5 +9,6 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||
*/
|
||||
@Configuration
|
||||
@EnableJpaRepositories(basePackages = "com.ktds.hi.review.infra.gateway.repository")
|
||||
@EntityScan(basePackages = "com.ktds.hi.review.infra.gateway.entity")
|
||||
public class ReviewConfig {
|
||||
}
|
||||
@ -13,7 +13,7 @@ spring:
|
||||
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: ${JPA_DDL_AUTO:validate}
|
||||
ddl-auto: ${JPA_DDL_AUTO:create}
|
||||
show-sql: ${JPA_SHOW_SQL:false}
|
||||
properties:
|
||||
hibernate:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user