近期用SpringBoot连接PostgreSql,
这个 org.postgresql.jdbc.PgConnection.createClob() 方法尚未被实作
application.properties
pom.xml
这个 org.postgresql.jdbc.PgConnection.createClob() 方法尚未被实作
application.properties
spring.datasource.platform=postgres
spring.datasource.url=jdbc:postgresql://10.18.35.155:5432/test1?useSSL=false
spring.datasource.username=abc
spring.datasource.password=abc
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialectpom.xml
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
本文介绍如何使用SpringBoot框架连接PostgreSQL数据库,包括配置文件application.properties设置、依赖项引入等步骤。解决org.postgresql.jdbc.PgConnection.createClob()方法未实现的问题。
8740

被折叠的 条评论
为什么被折叠?



