📜  application.yml 的 sprint jpa 属性 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:34.445000             🧑  作者: Mango

代码示例1
spring:
  jpa:
    database: POSTGRESQL
    show-sql: true
    hibernate:
      ddl-auto: create-drop
  datasource:
    platform: postgres
    url: jdbc:postgresql://localhost:5432/mydb
    username: foo
    password: bar
    driverClassName: org.postgresql.Driver