[edit] pom.xml, application.propertiesを編集
This commit is contained in:
1
pom.xml
1
pom.xml
@@ -17,6 +17,7 @@
|
||||
<description>Demo project for Spring Boot</description>
|
||||
<properties>
|
||||
<java.version>17</java.version>
|
||||
<lombok.version>1.18.34</lombok.version>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
@@ -1,3 +1,16 @@
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/rezodb
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/rezospring
|
||||
spring.datasource.username=rezouser
|
||||
spring.datasource.password=Rezo_0000
|
||||
|
||||
# SQLをログ出力
|
||||
logging.level.org.hibernate.SQL=debug
|
||||
|
||||
# SQLのバインドパラメーターをログ出力
|
||||
logging.level.org.hibernate.type=trace
|
||||
logging.level.org.hibernate.orm.jdbc.bind=trace
|
||||
|
||||
# SELECT文の結果をログ出力
|
||||
logging.level.org.hibernate.orm.jdbc.extract=trace
|
||||
|
||||
# SQL整形
|
||||
spring.jpa.properties.hibernate.format_sql=true
|
||||
Reference in New Issue
Block a user