스프링

application.yml(postgresql)설정 저장

jw90 2021. 1. 27. 22:17
spring:
  datasource:
    url: jdbc:postgresql://localhost:5432/schema_name
    username: name
    password: pass
    driver-class-name: org.postgresql.Driver
    
    
  jpa:
    show-sql: true
    hibernate:
      ddl-auto: create
    database-platform: org.hibernate.dialect.PostgreSQLDialect
        
logging.level:
  org.hibernate.SQL: debug

할때마다 찾기 귀찮아서 저장. 세부 설명이나 추가사항 생기면 수정하자