SpringBoot集成PostgreSql启动的时会报"org.postgresql.jdbc.PgConnection.createClob() 方法尚未被实作"问题,并且不影响程序运行,但是看到非常难受,解决方法:
application.properties增加以下属性
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
application.yml增加以下属性
spring:
jpa:
properties:
hibernate:
temp:
use_jdbc_metadata_defaults: false
|