#13 spring db: jpa - setting
This commit is contained in:
@@ -21,7 +21,8 @@ repositories {
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
||||
// implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
|
||||
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2'
|
||||
|
||||
|
||||
@@ -10,5 +10,8 @@ spring.datasource.username=sa
|
||||
mybatis.type-aliases-package=hello.itemservice.domain
|
||||
mybatis.configuration.map-underscore-to-camel-case=true
|
||||
logging.level.hello.itemservice.repository.mybatis=trace
|
||||
|
||||
mybatis.mapper-locations=classpath:mapper/**/*.xml
|
||||
|
||||
#JPA log
|
||||
logging.level.org.hibernate.SQL=DEBUG
|
||||
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||
|
||||
@@ -10,5 +10,8 @@ logging.level.org.springframework.jdbc=debug
|
||||
mybatis.type-aliases-package=hello.itemservice.domain
|
||||
mybatis.configuration.map-underscore-to-camel-case=true
|
||||
logging.level.hello.itemservice.repository.mybatis=trace
|
||||
mybatis.mapper-locations=classpath:mapper/**/*.xml
|
||||
|
||||
mybatis.mapper-locations=classpath:mapper/**/*.xml
|
||||
#JPA log
|
||||
logging.level.org.hibernate.SQL=DEBUG
|
||||
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||
Reference in New Issue
Block a user