无法使用Hibernate SpringBoot和Postgresql创建数据库

时间:2019-04-02 11:00:06

标签: hibernate spring-boot

我不能用spring boot hibernate和postgresql创建数据库吗? 错误消息:HHH000206:找不到hibernate.properties。 HH000424:当createClob()方法引发错误时,禁用上下文LOB创建

################### DataSource Configuration ##########################
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5433/postgres
spring.datasource.username=postgres
spring.datasource.password=19931919Minato
################### Hibernate Configuration ##########################
spring.jpa.database-platform = org.hibernate.dialect.PostgreSQL94Dialect
spring.jpa.show-sql = false
spring.jpa.hibernate.ddl-auto = create-drop
spring.jpa.hibernate.naming.implicit-strategy = 
org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
spring.jpa.properties.hibernate.format_sql=true

0 个答案:

没有答案