使用
spring.jpa.properties.hibernate.default_schema=schema。
从Spring Boot参考指南中:
创建本地EntityManagerFactory时,
spring.jpa.properties。
*中的所有属性均作为普通JPA属性(前缀去除)传递

使用
spring.jpa.properties.hibernate.default_schema=schema。
从Spring Boot参考指南中:
创建本地EntityManagerFactory时,
spring.jpa.properties。
*中的所有属性均作为普通JPA属性(前缀去除)传递