application.yml 595 Bytes
spring:
   application.name: grog-db-generator
   profiles.active: prod
   main:
     web-environment: false
     banner-mode: off

---

spring:
  profiles: prod

  datasource:
    driverClassName: com.mysql.jdbc.Driver
    initialize: false
    url: jdbc:mysql://localhost:3306/grogdev
    username: grogdev
    password: grogdev

  jpa:
     show-sql: true
     generate-ddl: true
     hibernate:
       ddl-auto: create

---

spring:
  profiles: test

  datasource:
    driverClassName: org.h2.Driver
    initialize: true

  jpa:
    show-sql: true
    hibernate:
      ddl-auto: create-drop