Skip to content

Commit

Permalink
setting: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
unanchoi committed May 17, 2024
1 parent 134da5d commit 45daeeb
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea
application-secret.properties
26 changes: 26 additions & 0 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
spring:
config:
import: application-secret.properties
activate:
on-profile: dev
datasource:
driver-class-name:
url:
username:
password:
jpa:
show-sql: true
properties:
hibernate:
default_batch_fetch_size: 1000
auto_quote_keyword: true
format_sql: true
use_sql_comments: true
highlight_sql: true

hibernate:
ddl-auto: update

logging:
level:
org.hibernate.orm.jdbc.bind: TRACE
2 changes: 1 addition & 1 deletion src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
spring:
config:
import: application-secret.yml
import: application-secret.properties
activate:
on-profile: local
datasource:
Expand Down

0 comments on commit 45daeeb

Please sign in to comment.